多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
``` import json f = open('1.txt','r',encoding='utf-8') m = json.load(f) print(m) print(m['status']['code']) dict1 = {} dict1['status'] = {} dict1['status']['code'] = 0 dict1['status']['msg'] = None dict1['data'] = {} dict1['data']['otherLikeDoc'] = a = [] a.append({}) a[0]['doc_id']='f346' a[0]['title']='(完整版)python学习课件课件' a.append({}) a[1]['doc_id']='f780' a[1]['title']='(完整版)Python基础教程(自学记录)' print(dict1) ``` ``` import json f = open('2.txt','r',encoding='utf-8') m = json.load(f) print(m) ``` ``` import json f = open('3.txt','r',encoding='utf-8') m = json.load(f) print(m) ``` ``` import json f = open('4.txt','r',encoding='utf-8') m = json.load(f) print(m) ``` ``` dict1 = {} dict1['status'] = {} dict1['status']['code'] = 0 dict1['status']['msg'] = None print(dict1) ```