摘要: 解决python写入中文乱码问题: 添加encoding='utf-8-sig' with open('result.csv', 'w', encoding='utf-8-sig', newline='') as f: writer = csv.writer(f) writer.writerows( 阅读全文
posted @ 2020-09-05 08:46 总得前行 阅读(873) 评论(0) 推荐(0) 编辑