rdrink schrieb: > num = 200 > cur.execute("INSERT INTO foo (id) VALUES (?)", num)
Hi! ``num`` must be an iterable object (tuple, list, ...). num = (200,) cur.execute("INSERT INTO foo (id) VALUES (?)", num) Regards, Gerold :-) -- ________________________________________________________________________ Gerold Penz - bcom - Programmierung [EMAIL PROTECTED] | http://gerold.bcom.at | http://sw3.at Ehrliche, herzliche Begeisterung ist einer der wirksamsten Erfolgsfaktoren. Dale Carnegie -- http://mail.python.org/mailman/listinfo/python-list