Как включить в python raw string single backslash?
>>> print r'\\'
\\
>>> print r'\n'
\n
>>> print r'\''
\'
>>> print r'\'
File "<stdin>", line 1
print r'\'
^
SyntaxError: EOL while scanning string literal
>>>
Как включить в python raw string single backslash?
>>> print r'\\'
\\
>>> print r'\n'
\n
>>> print r'\''
\'
>>> print r'\'
File "<stdin>", line 1
print r'\'
^
SyntaxError: EOL while scanning string literal
>>>