I am trying to insert a date in a table by using MySQL function select curdate(), here\'s how the code looks like: cur.execute("insert into attendance values(%s,%
cur.execute("insert into attendance values(%s,%