Yes! This works Thanks very much Alexander. --- Alexander Kozlovsky <[EMAIL PROTECTED]> wrote:
> The second parameter of cursor.execute() accept > **sequence** of > bindings. Try this: > > c.execute(toDo, [s1]) > > > > from pysqlite2 import dbapi2 as sqlite > > > > con = sqlite.connect("mydb.db") > > c = con.cursor() > > > > s1 =333333333 > > toDo ="Update ex set amount = ? where ex_id = 1" > > c.execute(toDo,s1) > > con.commit() > > c.close() > > > > > > Can anyone help? > > > Best regards, > Alexander > mailto:[EMAIL PROTECTED] > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com