Bryan Fodness
2008-04-02 14:44:10 UTC
I have a data pair separated by a backslash. I didn' t think it would see
an end of line if the backslash was inside the quotes.
Can this be done? I don't have a choice in what the separator is.
an end of line if the backslash was inside the quotes.
Can this be done? I don't have a choice in what the separator is.
LeafJawPositions='-42.000000000001\29.800000000001'
LeafJawPositions
'-42.000000000001\x029.800000000001'LeafJawPositions
x1, x2 = LeafJawPositions.split('\x0')
ValueError: invalid \x escapex1, x2 = LeafJawPositions.split('\')
SyntaxError: EOL while scanning single-quoted string--
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo
"The game of science can accurately be described as a never-ending insult to
human intelligence." - João Magueijo