Hi All.
I have a list which is a line from a file:
['\x003\x008\x00 1\x004\x007\x00 5\x00.\x005\x00 0\x002\x005\x00 9\x009\x00',
'\x002\x001\x00 3\x006\x002\x00 2\x00.\x001\x00 7\x004\x002\x00 8\x002\x00']
This should be in the format:
['381475.502599' , '213622.174282']
I've tried a few options using replace (replacing "\x00" with "") and
trying to convert from hexademical to decimal.
But nothing has worked. Can anybody give any tips to help?
Thanks.
I have a list which is a line from a file:
['\x003\x008\x00 1\x004\x007\x00 5\x00.\x005\x00 0\x002\x005\x00 9\x009\x00',
'\x002\x001\x00 3\x006\x002\x00 2\x00.\x001\x00 7\x004\x002\x00 8\x002\x00']
This should be in the format:
['381475.502599' , '213622.174282']
I've tried a few options using replace (replacing "\x00" with "") and
trying to convert from hexademical to decimal.
But nothing has worked. Can anybody give any tips to help?
Thanks.
Comment