I'm not quite sure I understand what you want.
Does this hit on it?
I think these links hit on your question actually:
How do I un-escape a backslash-escaped string in python?
how do I .decode('string-escape') in Python3?
Does this hit on it?
>>> chr(10) '\n' >>> ord('\n') 10Edit:
I think these links hit on your question actually:
How do I un-escape a backslash-escaped string in python?
how do I .decode('string-escape') in Python3?