Source Code:
(back to article)
string_with_backslash = "C:\\Users\\John\\Documents\\file.txt" print(string_with_backslash) raw_string_with_backslash = r"C:\Users\John\Documents\file.txt" print(raw_string_with_backslash)
Result:
Report an issue