[Tutor] sqlite3 lists to database conversion/ using python variables in sqlite3

Kent Johnson kent37 at tds.net
Wed Nov 19 14:40:13 CET 2008


On Wed, Nov 19, 2008 at 6:48 AM, शंतनू (Shantanoo) <shantanoo at gmail.com> wrote:

> You may try:
> c.execute("insert into ABC(%s) values('%s')" % (list1_value, list2_value))

This is a bad idea for reasons I gave in a previous email.

Kent


More information about the Tutor mailing list