SQLite or files?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Oct 6 05:29:06 CEST 2009


En Mon, 05 Oct 2009 23:08:59 -0300, AggieDan04 <danb_83 at yahoo.com>  
escribió:
> On Sep 17, 9:10 am, J Kenneth King <ja... at agentultra.com> wrote:
>> ici <iltch... at gmail.com> writes:

>> > I likeshelvefor saving small amounts of data, user preferences,
>> > recent files etc.
>> >http://docs.python.org/library/shelve.html
>>
>> I like it too, but I hear the great powers that be are going to
>> deprecate it.
>
> If you want the convenience of shelve without the limitations of dbm,
> you can do:
>
> """Implementation of Python shelves using SQLite."""

See also http://bugs.python.org/issue3783 "dbm.sqlite proof of concept"

-- 
Gabriel Genellina




More information about the Python-list mailing list