Mainly notes to future-Twig (and for anyone else who may find them useful)
Just a little snippet that I used before but had trouble finding.
from xml.etree import ElementTree ElementTree.tostring(xml_root_or_element)