python unpack with struct: struct.error: bad char in struct format

前端 未结 0 659
一整个雨季
一整个雨季 2021-01-20 14:31

my code is simply:

chunk = tbl.read(40)
elements = struct.unpack(\'i16siiiii\',chunk)

tbl is just a file with binary data, it contained data

相关标签:
回答
  • 消灭零回复
提交回复
热议问题