examining python objects

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sat Nov 19 05:43:26 EST 2005


rurpy at yahoo.com a écrit :
> Is there a function/class/module/whatever I can use to
> look at objects?  I want something that will print the object's
> value (if any) in pretty-printed form, and list all it's attributes
> and their values.  And do all that recursively.
> I want to be able to find out everything about an object that
> Python can introspectively find out.

Then check the inspect module




More information about the Python-list mailing list