Suppose my string is:
\' Hai Hello\\nGood eve\\n\'
How do I eliminate the \'\\n\' in between and make a string print like :
\'\\n\'
If you don't want the newline at the end of the print statement:
import sys sys.stdout.write("text")