shelf-like list?

kj no.email at please.post
Sat Aug 14 20:13:24 EDT 2010


In <af7fdb85-8c87-434e-94f3-18d8729bf9be at l25g2000prn.googlegroups.com> Raymond Hettinger <python at rcn.com> writes:

>On Aug 12, 1:37=A0pm, Thomas Jollans <tho... at 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




More information about the Python-list mailing list