ele escape () é usado para converter o <,
1 >>> from xml.sax.saxutils import escape
2 >>>
3 >>> escape("< & >")
4 '< & >'
Ashamed Aardvark
1 >>> from xml.sax.saxutils import escape
2 >>>
3 >>> escape("< & >")
4 '< & >'