MySQLdb TypeError: %d format: a number is required
required,notstr问题解决mactanxin2012-03-2316:59:46遇到问题:TypeError:%dformat:anumberisrequired,notstr解决办法:传给sql的变量写对格式就行了.sql里不需要对对应的变量写%d,只写%s就可以了遇到问题:(1146,"Table'database.'table_name''doesn'texist")解决办法:不