//Duplicated question are deleted.
I would like to convert a hex string like this:
b'\x0f\x00\x00\x00NR09G05164\x00' //This is what I've received from socket
To something like:
0f0000004e52303947303531363400
How can I achieve this using Python?
You can use
binascii.hexlify():