insert record in sqlite , incorrect number of bindings code example
Example: Incorrect number of bindings supplied. The current statement uses 1, and there are 3 supplied.
#You need to pass in a sequence, comma at the end:
cursor.execute('SELECT * FROM TABLE WHERE COL = ?;', (string,))