bsddb: must bsddb write a file ?
Rikard Bosnjakovic
bos at hack.org
Thu Jun 14 22:27:50 EDT 2001
> the bsddb: class (binary tree, hash-table,..)
> needs to write its data to a file:
> db = bsddb.btopen('filename','c');
Thanks for bringing this topic.
Question: shelve.open("some_file") creates that file if it doesnt exist.
I want to check IF the file exist, but this is troublesome since I dont
know what db the shelve uses (thus I dont know what file extension). How
can this be accomplished?
--
Rikard Bosnjakovic - http://bos.hack.org/cv/ - ICQ: 1158217
Anyone sending unwanted advertising e-mail to my address will be
charged $250 for network traffic and computing time. By extracting my
address from this message or its header, you agree to these terms.
More information about the Python-list
mailing list