摘要: linux 下创建一个全为1的数据文件 touch m.py import struct cnt = 128 data = [0xFF] with open('data', 'wb+') as fp: while cnt > 0: a = struct.pack('B', *data) fp.wri 阅读全文
posted @ 2022-02-03 19:06 Sky&Zhang 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 转自:https://www.cnblogs.com/LilRind/p/13445541.html 转载: https://www.sohu.com/a/334140700_354899 https://www.cnblogs.com/openix/archive/2012/04/23/24663 阅读全文
posted @ 2022-02-03 16:01 Sky&Zhang 阅读(1096) 评论(0) 推荐(0) 编辑