######## 存储数据 ########
import json
numb = [11,22,33,44,55,66]
filename = "1.json"
with open(filename,'w') as f:
json.dump(numb,f)
with open(filename) as d:
du = json.load(d)
print(du)
九科数据官方博客,专注于HTML,DIVCSS,JAVASCRIPT,JQUERY,AJAX,PHP,MYSQL,JAVA,VUE,小程序,C#,c,易语言,企业网站SEO优化及推广学习分享经验!
######## 存储数据 ########
import json
numb = [11,22,33,44,55,66]
filename = "1.json"
with open(filename,'w') as f:
json.dump(numb,f)
with open(filename) as d:
du = json.load(d)
print(du)