摘要: 文件的序列化和反序列化 对文件进行序列化就是把服务端的响应数据写到文件中 json.dump(r.content.decode('utf-8'),open('weather.json','w')) 对文件的反序列化就是读取文件的内容 阅读全文
posted @ 2020-04-19 20:42 Apple-MM 阅读(247) 评论(0) 推荐(0)