Ð
Дамјан ГеоргиевÑки
I need to programmaticaly enumerate all the classes in a given module.
Currently I'm using dir(module) but the Notice on the documentation page
[1] says "dir() is supplied primarily as a convenience for use at an
interactive prompt" so that kind of scares me.
Is there a better approach?
If there is, how do I get all the classes of the current module?
[1] http://docs.python.org/library/functions.html#dir
Currently I'm using dir(module) but the Notice on the documentation page
[1] says "dir() is supplied primarily as a convenience for use at an
interactive prompt" so that kind of scares me.
Is there a better approach?
If there is, how do I get all the classes of the current module?
[1] http://docs.python.org/library/functions.html#dir