writelines() argument must be a sequence of strings
原因是参数前面有u',如【u'a',u'b'】
去掉u'就行了 .encode('raw_unicode_escape')
writelines() argument must be a sequence of strings
原因是参数前面有u',如【u'a',u'b'】
去掉u'就行了 .encode('raw_unicode_escape')
本文标题:python writeLines遇到的问题
本文链接:https://www.haomeiwen.com/subject/kgnphqtx.html
网友评论