原代码中:self.file = open(‘data.json‘, ‘w‘, encoding=‘utf-8‘)
运行报错:
修改:(导入IO模块)
原文:https://www.cnblogs.com/songge1209/p/8431412.html
【说明】:本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!
原代码中:self.file = open(‘data.json‘, ‘w‘, encoding=‘utf-8‘)
运行报错:
修改:(导入IO模块)
原文:https://www.cnblogs.com/songge1209/p/8431412.html