Reputation: 1
I want to assing a path to a variable a: a = "D:\misc\testsets\Real"
a = "D:\misc\testsets\Real"
How can i omit the \t metacharacter without changing the folder name?
\t
Upvotes: -2
Views: 40
Reputation: 1757
r
a = r"D:\misc\testsets\Real"
Upvotes: 0
Reputation: 24038
Use raw strings: