IIRC there is a moment of sheer terror in this talk by David Beazley [0] where he shows how to import an xml file as a python module.<p>0. <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0oTh1CXRaQ0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=0oTh1CXRaQ0</a>