pickle和json序列号 json模块是所有语言通用的,可以用来把一些数据转成字符串存储在文件中 import json l=[,,] with open('t3',mode='w',encoding='utf-8')as f: print(json.dump(l,f )) import json l=[,,] with open('t3',mode='r',encoding='utf-8')as f: print(json.load(f)) import pickle l=[,,] wit…