I don’t know what is the problem.
Can you help?
cur = conn.cursor()
sql = "select count(*) from sbox_trig where date > CURDATE() and name ='bw109nocd%2Ezip'"
cur.execute(sql)
Exception Type: TypeError
Exception Value: not enough arguments for format string
Double the
%percent symbol:The
%2Epart is being interpreted as a string formatter for a floating point number otherwise.