擅长:python、mysql、java
<p>根据<a href="http://docs.python.org/3.2/library/xml.etree.elementtree.html#xml.etree.ElementTree.dump" rel="nofollow">ET manual</a>:</p>
<blockquote>
<p>Writes an element tree or element structure to sys.stdout. This function should be used for debugging only.</p>
<p>The exact output format is implementation dependent. In this version, it’s written as an ordinary XML file.</p>
</blockquote>
<p>但谷歌上有<a href="http://effbot.org/zone/element-lib.htm" rel="nofollow">are some fixes for that</a>。</p>