-
When I process my KGTK file and print the data I get strings such as |
Beta Was this translation helpful? Give feedback.
Answered by
chalypso
Jun 25, 2021
Replies: 1 comment
-
Here's a simple way to do this in Python properly handles escape sequences such as \t and \n and replaces everything else by the escaped character:
When doing this on a larger scale, the regular expression(s) should be compiled. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chalypso
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a simple way to do this in Python properly handles escape sequences such as \t and \n and replaces everything else by the escaped character: