Writing Object Data to Disk

Hendrik van Rooyen mail at microcorp.co.za
Sat Sep 22 09:40:31 CEST 2007


"Amit Kumar Saha" <da....o.in> wrote:

> I would like to know if "Pickling" the class object is the only way of
> writing it to disk for persistent storage.

look at marshall and shelve

>...........................................................Also, do we have a
concept
> similar to "array of objects" in Python? The number of objects is only
> known at "run-time".

I would use a list

- Hendrik




More information about the Python-list mailing list