[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

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

2005-10-18 Thread James Gan
17 Oct 2005 11:31:46 +0200, enrico.sirola_NOSPAM wrote: > > >>>>>>>"James" == James Gan <[EMAIL PROTECTED]> writes: >> >>James> I want the object printed in a readable format. For >> >>[...] >> >>James> I tried pick

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 >> >>