> Does anyone know how to open a connection to sqlite database from Python in write
> mode?
Did you remember to commit your writes?
import sqlite
cx = sqlite.connect('test.db')
cu = cx.cursor()
cu.execute('create table t1 (a,b,c)')
cu.execute('insert into t1 values (1,2,3)')
cx.commit()
cu.execute("select * from t1")
row = cu.fetchone()
print row
e
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]