Skip to content Skip to sidebar Skip to footer

Open Shelve File

I'm trying to lookup for a 'key' in 'my.db'. I did the following: import shelve db_file = os.path.join(self.path_data, 'my_directory', 'my.db') s = shelve.open(db_file) val = s['ke

Solution 1:

Install db4-devel or the like, then rebuild Python.


Post a Comment for "Open Shelve File"