[Tutor] listing classes

Laureano Arcanio listas.condhor at gmail.com
Tue May 20 17:26:51 CEST 2008


Hi All,

I need to have a listing of all classes defined inside a class body,
something like this:

class A(object):
    class B(object):
        pass
    class C(object):
        pass(object):

and i need to get the classes to instantiate them.. something like this.

classes =[A,B]

Any ideas ? do i need meta classes or something ?

Thanks in advice.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20080520/7982b3a4/attachment.htm>


More information about the Tutor mailing list