Something like java's reflection???

James Kew james.kew at
Tue Aug 27 22:25:39 CEST 2002

"Frank Buss" <fb at> wrote in message
news:akg9jv$ib1$3 at
> "KC" <khcarlso at> wrote:
> > I am curious if there is a way to get information at run time on an
> > objects internal attributes and methods -- something similar to java's
> > reflection api.  Is this possible in Python?
> Yes, you can use __dict__ on the class object and on instances.

Or use the inspect module, which provides more information than I'm
currently capable of understanding...


More information about the Python-list mailing list