Introspect current module to get classes

Edmund no.spam at address.com
Thu May 29 18:50:40 EDT 2003


I have a module that needs to do some initialization based on a list
of classes defined in itself.

There has to be a way to determine what classes are defined in a
module (and not imported, etc.), within the module itself, but I can't
figure out how... Can anybody help?

Thanks!

...Edmund.




More information about the Python-list mailing list