Writing Object Data to Disk
Amit Kumar Saha
dandolls at yahoo.co.in
Sat Sep 22 07:43:14 EDT 2007
> > From: Lawrence D'Oliveiro <ldo at geek-central.gen.new_zealand>
> > In message <mailman.914.1190444082.2658.python-list at python.org>,
> > Amit Kumar
> > Saha wrote:
> >
> > > I would like to know if "Pickling" the class object is the only
> > way of
> > > writing it to disk for persistent storage.
> >
> > Wouldn't it be better to use a language-independent data
> > representation that
> > wasn't tied to Python? Also tying your external data representation
> > to your
> > internal program structure (objects) makes it harder to change the
> > program
> > in future.
Actually, language independence is really not a consideration here. I am
happy at having it tied to Python :-)
BTW, do we have something like array of objects here?
--
Amit Kumar Saha
me blogs@ http://amitksaha.blogspot.com
URL:http://amitsaha.in.googlepages.com
More information about the Python-list
mailing list