easy way to dump a class instance?

Mark Harrison mh at pixar.com
Fri May 5 19:23:16 CEST 2006

Is there a way to automatically print all the instance
data in a class?  This is for debugging, I would like
to do something like dump(self) to snapshot the state
of the object.

Many TIA!

Mark Harrison
Pixar Animation Studios

More information about the Python-list mailing list