SyntaxFix
Write A Post
Hire A Developer
Questions
In general, to make a raw string out of a string variable, I use this:
string = "C:\\Windows\Users\alexb" raw_string = r"{}".format(string)
output:
'C:\\\\Windows\\Users\\alexb'