找了半天,自己研究了半天,不知道结果,谷歌到了http://stackoverflow.com/questions/16087527/converting-a-float-in-chars-to-float-python
>>> import struct
>>> x = [10, -41, -119, 65]
>>> struct.unpack('<f', struct.pack('4b', *x))[0]
17.229999542236328
找了半天,自己研究了半天,不知道结果,谷歌到了http://stackoverflow.com/questions/16087527/converting-a-float-in-chars-to-float-python
>>> import struct
>>> x = [10, -41, -119, 65]
>>> struct.unpack('<f', struct.pack('4b', *x))[0]
17.229999542236328