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

James Gan ganzhi at gmail.com
Mon Oct 17 05:25:35 EDT 2005


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



More information about the Python-list mailing list