Mark Harrison wrote:
> 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.
>
>
>   
Would something like cPickle work?  That allows you to dump objects into 
files as they are and read them again as they were.  Its fairly easy to 
use and might work well for you.

HTH

-carl


-- 

Carl J. Van Arsdall
[EMAIL PROTECTED]
Build and Release
MontaVista Software

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to