formatted output of mutable data types

Andrew Bennetts andrew-pythonlist at puzzling.org
Wed Jan 29 03:04:21 EST 2003


On Tue, Jan 28, 2003 at 11:34:38PM -0800, Hilbert wrote:
> Hello,
> 
> Is there a way to output a more visual representation of a mutable data type
> (eg. dictionary) like perl's Data::Dump?

You probably want the pprint module.

-Andrew.






More information about the Python-list mailing list