python escape ! in a string code example Example: python escape characters \' Single Quote \\ Backslash newline = '\n'