Hi, I'm not a programing guy and i have some difficulty doing something that i imagine is very simple for most of you
I have some bytes (encode as latin-1) like
b'f\x01\xff\xff\xff'
b'p308.95\xff\xff\xff'
In the first one I only want the x01 and get the numeric representation as integer
in the second I want to get the number in bolt as float
Also, Is any way to transform b'f\x01\xff\xff\xff' in the array [0x66, 0x01, 0xFF, 0xFF, 0XFF]
Any ideas
I don't know why don't i get something like
0x66 0x01 0xFF 0xFF 0XFF.
is x01 the same as 0x01?
I have some bytes (encode as latin-1) like
b'f\x01\xff\xff\xff'
b'p308.95\xff\xff\xff'
In the first one I only want the x01 and get the numeric representation as integer
in the second I want to get the number in bolt as float
Also, Is any way to transform b'f\x01\xff\xff\xff' in the array [0x66, 0x01, 0xFF, 0xFF, 0XFF]
Any ideas
I don't know why don't i get something like
0x66 0x01 0xFF 0xFF 0XFF.
is x01 the same as 0x01?