#You need to pass in a sequence, comma at the end: cursor.execute('SELECT * FROM TABLE WHERE COL = ?;', (string,))