I\'ve got an array of special characters that looks something like this.
specialCharList=[\'`\',\'~\',\'!\',\'@\',\'#\',\'$\',\'%\',\'^\',
\'&\'
The backslash \
character is used to escape characters that otherwise have a special meaning, such as newline, backslash itself, or the quote character.
example:
\\ Backslash (\)
\' Single quote (')
\" Double quote (")
Escape characters are documented in the Python Language Reference Manual. If they are new to you, you will find them disconcerting for a while, but you will gradually grow to appreciate their power.