赞
踩
错误原因:字符格式问题 解决方法:添加 encoding=‘UTF-8’ with open(path,encoding='UTF-8') as f:
with open(path,encoding='UTF-8') as f:
感谢这位博主https://blog.csdn.net/qq_38163755/article/details/84494796