I try to insert values from variables and values from a list into a sqlite3 database.
Problem: The list is not unpacked, it is used as a single element. What do I miss? Do I have to unpack the list into variables? In the example list_element
is a list with six elements
cur.execute("INSERT INTO websites VALUES(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
('NULL', qry, strtm, list_element, COUNTER, SPAM, EXCERPT, COLLECTION))