SQLite3: preventing new file creation

Aahz aahz at pythoncraft.com
Fri Feb 5 18:08:08 EST 2010


In article <6cf467a9-99d7-4fda-99da-075b4b38e3e0 at k6g2000prg.googlegroups.com>,
Gnarlodious  <gnarlodious at gmail.com> wrote:
>
>Every time I say something like:
>
>connection=sqlite3.connect(file)
>
>sqlite creates a new database file. Can this behavior be suppressed
>through SQLite? Or am I forced to check for the file existing first?

Check first
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

import antigravity



More information about the Python-list mailing list