title: fast and easy way to template xml files in python
body: <p>Right now I've hard coded the whole xml file in my python script and just doing out.write(), but now it's getting harder to manage because i have multiple types of xml file. </p>
  
  <p>What is the easiest and quickest way to setup templating so that I can just give the variable names amd filename?</p>