cur.execute('INSERT INTO company VALUES (%(cname), %(symbol), %(start_date), %(end_date))' %{'cname' : company, 'symbol' : company, 'start_date' : startdate, 'end_date' : enddate})
Trying to run this line on my computer results in a string formatting error: ValueError: unsupported format character ',' (0x2c) at index 36
It seems to be concerning the , but I have checked and all the parenthesis are properly nested (none enclosing an errant ,)