binascii.a2b_hex(hexstr)
binascii.unhexlify(hexstr)
Return the binary data represented by the hexadecimal string hexstr. This function is the inverse of b2a_hex()
. hexstr must contain an even number of hexadecimal digits (which can be upper or lower case), otherwise an Error
exception is raised.
Please login to continue.