Writing Object Data to Disk
Bruno Desthuilliers
bruno.42.desthuilliers at wtf.websiteburo.oops.com
Mon Sep 24 07:29:48 EDT 2007
More information about the Python-list mailing list
Mon Sep 24 07:29:48 EDT 2007
- Previous message (by thread): Writing Object Data to Disk
- Next message (by thread): Writing Object Data to Disk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
David a écrit : >> I would like to know if "Pickling" the class object is the only way of >> writing it to disk for persistent storage. Also, do we have a concept >> similar to "array of objects" in Python? The number of objects is only >> known at "run-time". > > Have a look at YAML. > > http://freshmeat.net/projects/syck/ > > Also it is possible to persist python data to and from XML. See > xml.marshal.generic.dumps or JSON...
- Previous message (by thread): Writing Object Data to Disk
- Next message (by thread): Writing Object Data to Disk
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list