In python I can construct a HTML string without worrying about escaping special characters like < or \" by simply enclosing the string in triple quotes like:
For the purpose mentioned, Java Server Pages do the trick even without the tripple """'s :-)
"""