Help with threading
Aahz Maruch
aahz at panix.com
Thu Oct 19 14:52:27 EDT 2000
In article <ggHH5.14636$oD.324689 at news6-win.server.ntlworld.com>,
Tom wright <thomas.wright1 at ntlworld.REMOVETHIS.com> wrote:
>
>An alternative here is to use from modulename import *, then you can use var
>= classname instead of var = modulename.classname, ah well live and learn.
That's a Bad Idea. It pollutes your namespace (at my last company, I
made it a hanging offense to use "from foo import *"). At the very
least, make sure to explicitly name each bit that you're importing, so
you can debug it later (e.g. "from foo import bar").
--
--- Aahz (Copyright 2000 by aahz at pobox.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6
"real love can't be explained by simplistic platitudes." --piranha
More information about the Python-list
mailing list