#####
把json 写入文件
import json
with open('cube.json', 'w', encoding='utf-8') as f:
json.dump(r, f, ensure_ascii=False, indent=4)
#####
把json 写入文件
import json
with open('cube.json', 'w', encoding='utf-8') as f:
json.dump(r, f, ensure_ascii=False, indent=4)
本文标题:json
本文链接:https://www.haomeiwen.com/subject/ftvjihtx.html
网友评论