title: How can I preserve the comments while appending into an xml file in python?
body: <p>When I am trying to write into an xml file using elementree,the comments are getting deleted and also there are unnecessary blank lines included. How Can I preserve the comments ?</p>