Python 如何修改并存储 json文件内容 - json package 使用

直接上代码:import jsondef json_load(json_file): with open(json_file, 'r') as fh: content = json.load(fh) return content fh.close()def json_save(json_file,
posted @ 2023-12-15 11:42  Gloria_Chen  阅读(77)  评论(0编辑  收藏  举报