easy way to dump a class instance?

Mark Harrison mh at pixar.com
Fri May 5 13:23:16 EDT 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

-- 
Mark Harrison
Pixar Animation Studios



More information about the Python-list mailing list