In article <[EMAIL PROTECTED]>,
 gf gf <[EMAIL PROTECTED]> wrote:

> If I want to dump (for debugging) an instance and all
> of it's member attributes, what's the simplest way?
> 
> print myInstance
> 
> just gives a pointer to its location in memory

You need to write a str() method for the class.  Alternatively, take a look 
at the pprint module.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to