title: Python pretty print an XML given an XML string
body: <p>I generated a long and ugly XML string with Python and I need to filter it through pretty printer to look nicer. </p>
  
  <p>I found <a href="https://stackoverflow.com/questions/749796/pretty-printing-xml-in-python">this post</a> for python pretty printers, but I have to write the XML string to a file to be read back to use the tools, which I want to avoid if possible.</p>
  
  <p>What python pretty tools are available that work on strings?</p>