__import__ returns module without it's attributes?
Zac Burns
zac256 at gmail.com
Fri Nov 13 18:27:29 EST 2009
I've overloaded __import__ to modify modules after they are
imported... but running dir(module) on the result only returns
__builtins__, __doc__, __file__,
__name__, __package__, and __path__.
Why is this? More importantly, where can I hook in that would allow me
to see the contents of the module?
--
Zachary Burns
(407)590-4814
Aim - Zac256FL
Production Engineer (Digital Overlord)
Zindagi Games
More information about the Python-list
mailing list