jim.vickroy at noaa.gov
Tue Feb 26 16:43:22 EST 2002
I'm experiencing a problem with obtaining the list of keys in a
previously-created, shelve archive. Note that I can ask if the archive
contains a particular key, but an exception is raised when I ask for the
list of all keys.
>>> import shelve
>>> db = shelve.open('d:/logs/products_journal')
Traceback (most recent call last):
File "<interactive input>", line 1, in ?
File "C:\Python22\lib\shelve.py", line 56, in keys
error: (22, 'Invalid argument')
I'm using Python 2.2 on a Win 2k platform. Any ideas would be greatly
More information about the Python-list