Introspection at the module level?

Aloysio Figueiredo xpythonist at
Sat Mar 6 18:12:56 CET 2004

> > Not to mention that I don't 
> > see how to get a handle to the module from inside the module, i.e. 
> > there's no "self".

from sys import modules

module_self = modules[__name__]




Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:

More information about the Python-list mailing list