Triple Quotes
\'\'\'
This is a
multi-line
string.
\'\'\'
You'd need a r
prefix on each string literal
>>> (r'on\e'
r'\tw\o')
'on\\e\\tw\\o'
Otherwise the first portion is interpreted as a raw string literal, but the next line of string is not, so the '\t
' is interpreted as a tab character.
I think you might also need to make the second line a raw string as well by prefixing it with the r as you did in r'on\e'