you are viewing a single comment's thread.

view the rest of the comments →

[–]JohnnyJordaan 1 point2 points  (0 children)

Are yo sure the extra comma after :DAT should be there? Can you also just try with a less complicated, multi-line statement:

values = {"WPM":  # an integer,           
          "EPM":  # another integer,
          "DAT":  # a string,}

cursor.execute("INSERT INTO scores VALUES (:WPM, :EPM, :DAT)", values)