Loading new code...

cut_me_out at hotmail.com cut_me_out at hotmail.com
Fri Aug 11 23:28:43 EDT 2000


> What you're trying to do can't be done, because there is no "global"
> namespace. If you have 2 modules that both want to see module X,
> they both must "import X"

Could you make the module an attribute of __builtins__?  I stick a lot
of non-standard stuff in there in my .pythonrc file.  That way, I
don't have to import things I use all the time over and over again.

Alex.




More information about the Python-list mailing list