Python:Special Character

From Progzoo

Double Quotes

You can use escape sequences for special characters such as

Backslash \\
New line  \n
Quote     \"
Tab       \t


[Font] [Default] [Show] [Resize] [History] [Profile]

Single Quotes

Note the escape sequences operate in single quoted strings (unlike perl and php).


[Font] [Default] [Show] [Resize] [History] [Profile]