Guest User

Untitled

a guest
Feb 23rd, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. >>> s = '0000000000A0A240'
  2. >>> s.decode('hex')
  3. 'x00x00x00x00x00xa0xa2@'
  4. >>> import struct
  5. >>> struct.unpack('d', s.decode('hex'))[0]
  6. 2384.0
Add Comment
Please, Sign In to add comment