make raw string python code example
Example 1: python raw string
#A raw string considers backslash as literal instead of an escape character
print(r"C\Users\MyName\Desktop")
#Without the r in front you will have to escape the \ with another \
print("C\\Users\\MyName\\Desktop")
#Both will print the same thing "C\Users\MyName\Desktop"
Example 2: python print raw string
>>> print(repr('abc 123 \n'))
'abc 123 \n'