Unshelving the data?
Uncle Ben
bgreen at nycap.rr.com
Thu Jun 2 09:17:21 EDT 2011
More information about the Python-list mailing list
Thu Jun 2 09:17:21 EDT 2011
- Previous message (by thread): Unshelving the data?
- Next message (by thread): help me reviewing and organizing my code =)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Jun 2, 6:46 am, Adam Tauno Williams <awill... at whitemice.org> wrote: > On Wed, 2011-06-01 at 19:49 -0700, Uncle Ben wrote: > > Shelving is a wonderfully simple way to get keyed access to a store of > > items. I'd like to maintain this cache though. > > +1 > > > Is there any way to remove a shelved key once it is hashed into the > > system? I could do it manually by removing the value and erasing the > > key in the directory list. But is there a more elegant way? > > del shelve[key] > > > Or should I to go the full database route? It is not a lage > > application. > > Stick with shelves. Much simpler. Thanks. And Chris, thanks for showing me 'pyco'. I had looked in six thick books and had not found anything on removing keys. Ben
- Previous message (by thread): Unshelving the data?
- Next message (by thread): help me reviewing and organizing my code =)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list