python错误:TypeError: 'str' object is not callable

来源:互联网 发布:美国非农就业数据10月 编辑:程序博客网 时间:2024/06/05 14:36

oh,shit

cursor.execute("delete from mysql_status where db_id=%s and variable_id=%s and time<%s"(db_id,variable_id,stale_time))

忘记加%了,不过这个错误也提示真是莫名其妙

原创粉丝点击