+ 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)