pysqlite

Peter Otten __peter__ at web.de
Sun Mar 28 08:05:22 EST 2004


Dave Harrison wrote:

> I need to be able to flash a database with the sql def'ns I have, and it
> works if I pipe my file into sqlite, but when I execute the same data as
> a giant string I get no error, but the database isn't flashed.
> 
> anyone have any ideas ? Ive tried stripping out newlines, all whitespace
> reduced to single spaces etc etc ...

Did you commit() before closing the connection?

Peter




More information about the Python-list mailing list