Python shelve with already opened file
<p>Is it possible to use shelve with a file that is already opened? I'd like to do something like the following, but shelve.open doesn't accept a file descriptor.</p>

<pre><code> f = open('file.shelve')
 s = shelve.open(f)
</code></pre>
