I'm trying to add object-persistence to my python app. I'm currently using python 3.4 on windows.
The only module I found useful was shelve but on windows, it appears, it creates three different files rather than one: 'db.bak' ,'db.dat' and 'db.dir'. How can I force shelve to create only single file ? furthermore , whenever I need to open that db on read-only mode , 'db.dir' is being edited for some reason.
Does anyone know how to fix those issues ? or maybe suggest other modules that would work considering the OS and python version?