2019-11-04 Python TypeError: not

作者: Shalom小白 | 来源:发表于2019-11-04 11:44 被阅读0次

错误:

instr = "'%s', '%s', '%d', '%s', '%s', '%s', '%s'" % softname, procversion, int(percent), exe, description, company, procurl

解决方案:

instr = "'{0}', '{1}', '{2}', '{3}', '{4}', '{5}', '{6}'".format(softname, procversion, int(percent), exe, description, company, procurl)

参考

相关文章

网友评论

    本文标题:2019-11-04 Python TypeError: not

    本文链接:https://www.haomeiwen.com/subject/vgnrbctx.html