My program runs fine with the give parameters and outputs what is needed. Students.db also contains the right values. Even after reading a thread similar to this, I still don't know what I did wrong.
And my values I input: db.execute("INSERT INTO students (first, middle, last, house, birth) VALUES(?, ?, ?, ?, ?)", (my values)
Even after trying with a value for the ID I just get
UNIQUE constraint failed: students.id
or the results present in check50 if the program appears to work.
students.db
, with lower-case S? You take the csv file fromsys.argv[1]
? – Blauelf Mar 3 '20 at 12:04