import guards?

A. Lloyd Flanagan alloydflanagan at attbi.com
Wed May 7 10:02:15 EDT 2003


Peter Hansen <peter at engcorp.com> wrote in message news:<3EB8505E.423FD9 at engcorp.com>...
> Michael Mossey wrote:
> > 
> 3. Try to avoid "from xxxx import *" in all but special cases.  
>    Check the archives for background on this (keywords 
>    "from module import" ?) but basically except in cases such as 
>    (maybe) math and wxPython, it can be a very bad idea.  Definitely
>    not a good habit to get into.

Oh, come on, there's only 2,746 symbols in wxPython.wx.  Why not list them all?
;-)




More information about the Python-list mailing list