using import * with GUIs?

2006-05-31 Thread John Salerno
Hi all. Quick question (but aren't they all?) :) Do you think it's a good idea to use the 'from name import *' statement when using a GUI module? It seems on wxPython's site, they recommend using import wx nowadays, but I wonder if that advice is followed. Also, I'm still reading some Tkinter

Re: using import * with GUIs?

2006-05-31 Thread [EMAIL PROTECTED]
John Salerno wrote: Hi all. Quick question (but aren't they all?) :) Do you think it's a good idea to use the 'from name import *' statement when using a GUI module? It seems on wxPython's site, they recommend using import wx nowadays, but I wonder if that advice is followed. Also, I'm

Re: using import * with GUIs?

2006-05-31 Thread Terry Reedy
John Salerno [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi all. Quick question (but aren't they all?) :) Do you think it's a good idea to use the 'from name import *' statement when using a GUI module? It seems on wxPython's site, they recommend using import wx nowadays, but

Re: using import * with GUIs?

2006-05-31 Thread John Salerno
[EMAIL PROTECTED] wrote: Personally I prefer explicit to implicit, and typing wx. is not really that much to type is it? No, but typing Tkinter. is! ;) -- http://mail.python.org/mailman/listinfo/python-list

Re: using import * with GUIs?

2006-05-31 Thread Alexandre Fayolle
Le 31-05-2006, John [EMAIL PROTECTED] nous disait: Hi all. Quick question (but aren't they all?) :) Do you think it's a good idea to use the 'from name import *' statement when using a GUI module? It seems on wxPython's site, they recommend using import wx nowadays, but I wonder if that

Re: using import * with GUIs?

2006-05-31 Thread John Salerno
Terry Reedy wrote: If I were to use Tkinter, I would 'import Tkinter as tk'. Good idea! I was kind of excited about Tkinter for a little while...seems very easy, and it has an event delegation system that I understand! But then I saw that for a toolbar you use a Frame? And for a status bar

Re: using import * with GUIs?

2006-05-31 Thread malv
John Salerno wrote: Terry Reedy wrote: If I were to use Tkinter, I would 'import Tkinter as tk'. Good idea! I was kind of excited about Tkinter for a little while...seems very easy, and it has an event delegation system that I understand! But then I saw that for a toolbar you use a

Re: using import * with GUIs?

2006-05-31 Thread Mel Wilson
John Salerno wrote: Hi all. Quick question (but aren't they all?) :) Do you think it's a good idea to use the 'from name import *' statement when using a GUI module? It seems on wxPython's site, they recommend using import wx nowadays, but I wonder if that advice is followed. Also, I'm

Re: using import * with GUIs?

2006-05-31 Thread Peter Decker
On 5/31/06, John Salerno [EMAIL PROTECTED] wrote: I guess if I'm going to learn a GUI, I might as well jump right into wxPython from the beginning. May I recommend that you take a look at the Dabo project? While they have a full application framework for creating database applications, you can