Hex2ascii dictionary module for non printable chars

67 Views Asked by At

I want to convert hexadecimal chars like:

\x12h+.\xC9V\xB8\xFC\x95\x0D\x11

to

(Device Control 2)h+.(+)V(+)(n)(ò)(Carriage Return)(Device Control 1)

Is there a module available in python or something similar that can easily do this without having to create a hex2text dictionary?

Non printable char reference @ Istanbul Technical University

0

There are 0 best solutions below