TypeError: %d format: a number is required, not str
对python脚本传参,传入的都是str类型,所以在程序里需要其他类型的参数时,需要对传入的参数进行类型转换,比如int(argv[1])
TypeError: %d format: a number is required, not str
对python脚本传参,传入的都是str类型,所以在程序里需要其他类型的参数时,需要对传入的参数进行类型转换,比如int(argv[1])
本文标题:mysql + python error
本文链接:https://www.haomeiwen.com/subject/imnbaftx.html
网友评论