Starting from Python 3.2, you can use int.from_bytes. Second argument, byteorder, specifies endianness of your bytestring. It can be either 'big' or ...
確定! 回上一頁