[newbie]Is there a module for print object in a readable format?
enrico.sirola_NOSPAM at gmail.com
enrico.sirola_NOSPAM at gmail.com
Mon Oct 17 05:31:46 EDT 2005
>>>>> "James" == James Gan <ganzhi at gmail.com> writes:
James> I want the object printed in a readable format. For
[...]
James> I tried pickled, marshel. They do different work. Is there
James> another module which do this kind of job?
from pprint import pprint
pprint(object)
bye,
e.
--
Enrico Sirola <enrico.sirola at gmail.com>
More information about the Python-list
mailing list