+ 1
Do you know where to find a comprehensive list of escape characters using the backward slash?
2 Answers
+ 1
https://docs.python.org/3.2/reference/lexical_analysis.html#index-15
WEBSITE CONTENTS:
\newline
Backslash and newline ignoredÂ
\\
Backslash (\)Â
\'
Single quote (')Â
\"
Double quote (")Â
\a
ASCII Bell (BEL)Â
\b
ASCII Backspace (BS)Â
\f
ASCII Formfeed (FF)Â
\n
ASCII Linefeed (LF)Â
\r
ASCII Carriage Return (CR)Â
\t
ASCII Horizontal Tab (TAB)Â
\v
ASCII Vertical Tab (VT)Â
\ooo
Character with octal value ooo
\xhh
Character with hex value hh
ONLY RECOGNIZED IN STRINGS:
\N{name}
Character named name in the Unicode databaseÂ
\uxxxxCharacter with 16-bit hex valuexxxx
\UxxxxxxxxCharacter with 32-bit hex valuexxxxxxxx
+ 2
thanks God! (literally)