how to use raw string in 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: raw string python
>>> s = r'Hi\xHello'
>>> print(s)
Hi\xHello