saving complex data structures?

Paul Rubin phr-n2002a at nightsong.com
Fri Feb 15 16:56:59 EST 2002


"akhar" <akhar at videotron.ca> writes:
> How does one go about saving and restoring complex data structures? like if
> I have made a daatabase in python how do I save the contents for fast
> retrieval, in other ways than text files which do not always take into
> account structure? ( I thought of XML but ... I am wondering if there is a
> binary way?)

See the docs for the pickle/cpickle module.



More information about the Python-list mailing list