I have a list that has 3 rows each representing a table row:
>>> print list [laks,444,M] [kam,445,M] [kam,445,M]
How to insert thi
conn = sqlite3.connect('/path/to/your/sqlite_file.db') c = conn.cursor() for item in my_list: c.execute('insert into tablename values (?,?,?)', item)