In a raw string literal, as indicated by the prefix r, the backslash doesn't have the special meaning. >>> print(repr(r"wt\"f")) 'wt\\"f' What the interpreter actually does, though, is simply change the behavior of backslashes, so they pass themselves and the following character t...
In a raw string literal, as indicated by the prefix r, the backslash doesn't have the special meaning. >>> print(repr(r"wt\"f")) 'wt\\"f' What the interpreter actually does, though, is simply change the behavior of backslashes, so they pass themselves and the following character ...