python json

一、load python json loadpython get=json.load(open(datarxml,'r')) 二、save dump做用是对dict进行处理,以后能够进行write或者read。web # 写数据 with open('data.json', 'w') as f: json.dump(data, f) # 读取数据 with open('data.js
相关文章
相关标签/搜索