Page 277 - Beginning Programming with Pyth - John Paul Mueller
P. 277
\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)
\uhhhh Unicode character (a specific kind of character set with broad appeal across the world) with a hexadecimal value that replaces hhhh
\v ASCII Vertical Tab (VT)
\ooo ASCII character with octal numeric value that replaces ooo
\xhh ASCII character with hexadecimal value that replaces hh
The best way to see how the escape sequences work is to try them. The following steps help you create an example that tests various escape sequences so that you can see them in action.