file_object = open( 'ssue.csv', 'w', 'utf-8')
TypeError: an integer is required (got type str)
对于第三个参数,指定编码方式必须要加encoding=“utf-8”
read_helper=open(checkpath,"r",encoding="utf-8")
file_object = open( 'ssue.csv', 'w', 'utf-8')
TypeError: an integer is required (got type str)
对于第三个参数,指定编码方式必须要加encoding=“utf-8”
read_helper=open(checkpath,"r",encoding="utf-8")
上一篇:Navacat连接Oracle数据库的时候,会提示ORA-12737:Instant Client Light:unsupported server character set ZHS16GBK
。。。。
python:使用PyInstaller打包成exe文件,以及TypeError: an integer is require
问题描述: 原因:print 语句中单引号套单引号的语法错误所致
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M