I try to execute this sqlite3 query in Python. I reduced the code to the minimum, sqlite.connect, etc works.
column = \'Pron_1_Pers_Sg\' goal = \'gender\' c
Try this: c.execute("SELECT {idf} FROM Data WHERE {goal}".\ format(idf=column, goal=constrain))
c.execute("SELECT {idf} FROM Data WHERE {goal}".\ format(idf=column, goal=constrain))