
json
fK0pS
女朋友每天催着我写博客
展开
-
json文件打注释
//原创 2020-09-14 11:34:23 · 380 阅读 · 0 评论 -
python load json
import json # jsonPath = r'D:/PythonProject/Editor/main/template2.json'; jsonPath = r'D:/PythonProject/Editor/main/template.json'; def load(): with open(jsonPath,'r') as f: data = json.load(f) return data data = load() 遇到的麻烦: ..原创 2020-05-13 17:08:49 · 413 阅读 · 0 评论