how to convert python string with escape char code example Example: python escape characters \' Single Quote \\ Backslash newline = '\n'