json
2020-04-20 本文已影响0人
492284513d5a
#####
把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)