I have a string of bytearray which i want to convert to bytearray in python 3
For example,
x = "\x01\x02\x03\x04"
I get the x variable from server, it is a string but content is byte array, how to convert it to byte array. Really stuck at it. Thanks