pyyaml 中文亂碼
https://www.cnblogs.com/BlueSkyyj/p/12781752.html
解决办法
加入参数
allow_unicode=True
fw = open(yamlFile,'a',encoding='utf-8')
w = r
yaml.dump(w,fw,allow_unicode=True)
fw.close()
https://www.cnblogs.com/BlueSkyyj/p/12781752.html
加入参数
allow_unicode=True
fw = open(yamlFile,'a',encoding='utf-8')
w = r
yaml.dump(w,fw,allow_unicode=True)
fw.close()