Error while connecting to sqlite Incorrect number of bindings supplied. The current statement uses 8, and there are 10 supplied. 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,))