我怎样才能让csv.writer.writerow
输出áorè和其他特殊字符,比如u,n?在
我有个错误
UnicodeEncodeError:“ascii”编解码器无法对位置37中的字符u'\xed'进行编码:序号不在范围(128)
已经尝试了this文章中的一些建议,但没有成功
rowPrinter = []
while x < y:
print "Data in at Line " + str(x + 1)
rowPrinter.append([a[x], b[x], c[x]]])
x = x + 1
x=0
^{pr2}$
Tags:
您需要对试图写入的所有数据进行编码:
如果您有混合数据:
^{pr2}$相关问题 更多 >
编程相关推荐