How to take two values into sqlite3 ?
v1 = '2011.11.10'
v2 = 10
vv1=(v1,)
vv2=(v2,)
conn = sqlite3.connect('date.db')
c = conn.cursor()
c.execute(" UPDATE archive SET date=? WHERE Id=? ", (vv1,vv2) ) # (vv1,vv2) this is not work, how?
conn.commit()
I know, that probably a simple , but can't find anything on net. Tnx