On Sep 8, 1:47*pm, s...@pobox.com wrote:
* * MonuWhen I am using shelve on my local machine it generates thedb
* * Monufile as given filename. But in another machine it's generating
* * Monu<filename>.dat and .dir. *can anyone tell me how can I force sheve
* * Monumodule to write the db in <filename>.dir and <filename>.dat,
* * Monuinstead of <filename>? Do I have to install a specific version of
* * Monuthe python?
Shelve is just a thin layer on top of a concrete db file module. *Sounds
like on your two machines there are different underlying db file modules
available. *You're pretty much at the mercy of those modules as to file
naming. *All you are giving it when opening a shelve file is the prefix..
Skip
Thanks Skip.
So Can't I choose which module to use. Is there any preferance on
which shelve chooses these modules?