click below
click below
Normal Size Small Size show me how
Escape Sequences Py
Term | Definition |
---|---|
\\ | Backslash |
\' | single-quote escape |
\" | double-quote escape |
\a | ASCII bell (BEL) |
\b | ASCII backspace (BS) |
\f | ASCII formfeed (FF) |
\n | newline/ASCII linefeed (LF) |
\N{name} | Character named name in the Unicode database (Unicode only) |
\r | Carriage return (CR) |
\t | Horizontal tab (TAB) |
\uxxxx | Character with 16-bit hex value xxxx |
\Uxxxxxxxx | Character with 32-bit hex value xxxxxxxx |
\v | ASCII vertical tab (VT) |
\000 | Character with octal value 000 |
\xhh | Character with hex value hh |