Omitting metacharacters in python
Question:
I want to assing a path to a variable a:
a = "D:misctestsetsReal"
How can i omit the t
metacharacter without changing the folder name?
Answers:
Use raw strings:
a = r"D:misctestsetsReal"
Try this:
r
denotes raw string.
a = r"D:misctestsetsReal"
I want to assing a path to a variable a:
a = "D:misctestsetsReal"
How can i omit the t
metacharacter without changing the folder name?
Use raw strings:
a = r"D:misctestsetsReal"
Try this:
r
denotes raw string.
a = r"D:misctestsetsReal"