With MySQLdb package in python, I want to insert records with checking some unique keys. The method I used is executemany. The arguments are sql sentence and a tuple. But wh
You have three elements in dData but only two %s placeholders for them to go into.
dData
%s