原文:python: TypeError: not enough arguments for format string

对后面参数加上括号 ...

2019-08-02 21:28 0 411 推荐指数:

查看详情

Python TypeError: not enough arguments for format string

今天使用mysqldb执行query语句的时候,在执行这条语句的时候: 出现一下错误: 根据错误提示顺藤摸瓜找到病症: 在python扩展包mysqldb下的cursors.py有这么一处代码写法已经过时。 原来的的写法如图: 我们只需要 ...

Wed May 18 19:25:00 CST 2016 0 15770
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM