python escape character function code example Example: python escape characters \' Single Quote \\ Backslash newline = '\n'