Hex-->Ascii
#coding =utf-8 from binascii import a2b_hex h ='6a6a6a6a6a6a6a6a6a' s = a2b_hex(h) print(s)