simple dbm question

Matthew Robert Gallagher hew at hons.cs.usyd.edu.au
Thu Apr 8 21:20:25 EDT 1999


could someone please tell me why this dbm doesn't work



import anydbm
file = anydbm.open('hew')


error appears as
Traceback (innermost last):
 File "/usr/local/lib/python1.5/anydbm.py", line 54, in open
    return _mod.open(file, flag, mode)
gdbm.error: (2, 'No such file or directory')


thanks

hew





More information about the Python-list mailing list