```
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)
```
- py转exe
- py服务器
- py登录
- py查询
- 爬TB热卖1017
- 爬TB分类1015
- 爬BD文库1010
- 爬文库924
- json917
- decode912
- 转码910
- radians829
- turtle827
- 画叶子820
- 树干815
- Turtle, mainloop718
- sorted716
- random711
- turtle.colormode709
- abs704
- begin_fill702
- randint,random627
- isalpha625
- keyword620
- compile618
- judge613
- list1.copy611
- random.choice606
- format_randint604
- save_csv528
- jieba523
- wordcloud521
- wordcloud516
- jieba.lcut514
- counts503
- format423
- 花瓣418
- strftime416
- turtle.fillcolor411
- random.random409
- pensize404
- 花蕊328
- input327
- eval_float320
- open319
- while314
- JCR影响因子313
- _to_chinese4_312
- encoding306
- read305
- flask1029