2012-05-11 58 views

回答

4

使用IN操作:

cur.execute("update tablenew set status = ? where id IN ?", ('new', list))