Mar-24-2018, 06:43 PM
import binascii binascii.b2a_hex(bytearray(b'K\x01\x01\x00\x00\x08\x04\x97*f9'))
Output:b'4b010100000804972a6639'
The returned Value is represented by raw bytes.To get the hexadecimal representation of bytes, use
binascii.b2a_hex
.a == ASCII
b == Binary
Finally you have to slice the result, to get the ID.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
All humans together. We don't need politicians!