Python shelve with a file handle

Adam Tauno Williams awilliam at
Wed Oct 6 17:22:41 CEST 2010

shelve has open({filename}).  Is there anyway to open a shelve
'database' using a file handle?

Specifically I'd like to create a shelve database via a file handle
acquired from a call to SpooledTemporaryFile.

More information about the Python-list mailing list