I have a string and would like to send them over the socket. How to send it using python 3.6?
string1 = "0001ff438a9b"
I would like to convert the sting and send it as bytes 0x00, 0x01,0xff,0x43,0x8a,0x9b
over the socket.
It's different from the question marked as duplicate. My actual byte values are stored as string.