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 this kind of job?
> 

pprint

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in '[EMAIL PROTECTED]'.split('@')])"
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to