This should help: http://docs.python.org/library/pickle.html
-- Zachary Burns (407)590-4814 Aim - Zac256FL Production Engineer Zindagi Games On Sat, Aug 14, 2010 at 5:13 PM, kj <no.em...@please.post> wrote: > In <af7fdb85-8c87-434e-94f3-18d8729bf...@l25g2000prn.googlegroups.com> > Raymond Hettinger <pyt...@rcn.com> writes: > > >On Aug 12, 1:37=A0pm, Thomas Jollans <tho...@jollybox.de> wrote: > >> On Tuesday 10 August 2010, it occurred to kj to exclaim: > >> > >> > I'm looking for a module that implements "persistent lists": objects > >> > that behave like lists except that all their elements are stored > >> > on disk. =A0IOW, the equivalent of "shelves", but for lists rather > >> > than a dictionaries. > > . . . > >> You could simply use pickle to save the data every once in a while. > > >That is a very reasonable solution. > > Sorry I don't follow. Some sample code would be helpful. > TIA, > ~K > > -- > http://mail.python.org/mailman/listinfo/python-list >
-- http://mail.python.org/mailman/listinfo/python-list