摘要: with open('./file/test.txt', 'wb+') as f: for i in nums: s = struct.pack('i', i) f.write(s) 读: nums = [] with open('./file/2010.txt', 'rb+') as f: for 阅读全文
posted @ 2020-02-29 14:43 douzujun 阅读(2452) 评论(0) 推荐(0) 编辑