How to output a complex List object to a file.

Chris Rebert clp2 at rebertia.com
Mon Jun 22 18:51:13 EDT 2009


On Mon, Jun 22, 2009 at 6:17 AM, Jim Qiu<bluefisher80 at gmail.com> wrote:
> Hi all,
>
> I have a object list list this:
<snip>
> I need to output this "structure" object into a file, how to do that ?

Links for the modules mentioned:

http://docs.python.org/library/pickle.html
http://docs.python.org/library/json.html

Cheers,
Chris
-- 
http://blog.rebertia.com



More information about the Python-list mailing list