Writing Object Data to Disk

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Sat Sep 22 07:58:10 EDT 2007


In message <mailman.922.1190461411.2658.python-list at python.org>, Amit Kumar
Saha wrote:

>> > 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.
>> > 
>> > 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 :-)

Even so, ignoring the issue of future changes is folly.



More information about the Python-list mailing list