摘要:python写入csv 用Excel打开乱码的解决方法 来自:https://blog.csdn.net/gwruiki/article/details/123645329,感谢作者。 主要是因为编码格式不对,不能使用encoding='utf-8',改为encoding='GB18030'即可下面
阅读全文
posted @ 2022-06-07 23:45
|
06 2022 档案
摘要:python写入csv 用Excel打开乱码的解决方法 来自:https://blog.csdn.net/gwruiki/article/details/123645329,感谢作者。 主要是因为编码格式不对,不能使用encoding='utf-8',改为encoding='GB18030'即可下面
阅读全文
posted @ 2022-06-07 23:45
摘要:在运行python 脚本时,报错如下 f = open(file_name, 'r', encoding='utf-8')TypeError: expected str, bytes or os.PathLike object, not NoneType 这是因为我在前面的脚本 在生成文件名字的时候
阅读全文
posted @ 2022-06-04 13:30
|
|
Powered by:
|