标签:dump lis cee int splay data yaml key print
with open(mpath,"w") as k: dlist=[] for key in yaml_dict["data"]: dlist.append(yaml_dict["data"][key]) print(dlist) yaml_dict["data"]=dlist json.dump(yaml_dict,k) print("json add succeed")
标签:dump lis cee int splay data yaml key print
原文地址:https://www.cnblogs.com/sea-stream/p/9845860.html