//Duplicated question are deleted.
I would like to convert a hex string like this:
b'x0fx00x00x00NR09G05164x00' //This is what I've received from socket
To something like:
0f0000004e52303947303531363400
How can I achieve this using Python?
See Question&Answers more detail:os