标签:open coding alt .json python2 utf-8 2.7 json .com
原代码中:self.file = open(‘data.json‘, ‘w‘, encoding=‘utf-8‘)
运行报错:
修改:(导入IO模块)
python2.7-encoding报错
原文地址:https://www.cnblogs.com/songge1209/p/8431412.html