import codecs
with codecs.open('../log/front.json','w',encoding='utf-8') as f:
pass
python 读取和写入文件建议使用codecs.open而不是python内置的open
最新推荐文章于 2023-03-20 14:56:30 发布
import codecs
with codecs.open('../log/front.json','w',encoding='utf-8') as f:
pass