摘要:
今天看到的struct 照书上的操作>>> data = struct.pack('>i4sh', 7, 'spam', 8) # Make packed binary data就提示如下的出错信息Traceback (most recent call last): File "<pyshell#21>", line 1, in <module> data = struct.pack('>i4sh', 7, 'spam', 8) # Make packed 阅读全文