Re: [newbie]Is there a module for print object in a readable format?

2005-10-18 Thread James Gan
, enrico.sirola_NOSPAM wrote: James == James Gan [EMAIL PROTECTED] 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) I

Re: [newbie]Is there a module for print object in a readable format?

2005-10-18 Thread James Gan
Yes, that's what I need! Thank you all bruno modulix wrote: James Gan wrote: I want the object printed in a readable format. For example, x =[a, b, c, [d e]] will be printed as: x--a |_b |_c |___d |_e I tried pickled, marshel. They do different work. Is there another module which do

[newbie]Is there a module for print object in a readable format?

2005-10-17 Thread James Gan
I want the object printed in a readable format. For example, x =[a, b, c, [d e]] will be printed as: x--a |_b |_c |___d |_e I tried pickled, marshel. They do different work. Is there another module which do this kind of job? Thanks! James Gan -- http://mail.python.org/mailman