Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
zua=[0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00] sd=0x1F2F3F4F 目的 zua[0]=0x1F zua[1]=0x2F zua[2]=0x3F zua[3]=0x4F 请问程序应该怎么写
https://cn.bing.com/search?q=python3+struct+pack+int&qs=n&form=QBRE&sp=-1&pq=python3+struct+pack+int&sc=0-23&sk=&cvid=A02558E4B7594122AD577AB1BD09CDCC
struct.pack('>i',sd)
提醒你一下:你这样是大端。但是大部分用的都是小端。