Combining python and sqlite DB into a single, "executeable".

Robert Kern robert.kern at gmail.com
Tue Oct 6 23:31:52 CEST 2009


On 2009-10-06 16:16 PM, tcumming123 at gmail.com wrote:
> Any body got any ideas how to do the following...
>
> I would like to be able to write an app in python that keeps it's
> persistent data in a sqlite database file.
>
> So far so good. The problem, is that I need the python app and the
> sqlite db file to exist in the same disk file. This way the app to
> access the data and the data are in the same file.

Would having the app and the data file in the same directory satisfy your use 
case just as well? You could move the directory around just as well as you could 
move the file.

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list