<div>do the following</div>
<div> </div>
<div>import xml.etree</div>
<div> </div>
<div>that imports the elementtree library in 2.5 it self so you sure can do that in 2.6</div>
<div> </div>
<div><a href="http://docs.python.org/library/xml.etree.elementtree.html">http://docs.python.org/library/xml.etree.elementtree.html</a><br><br></div>
<div>-- <br>Thanks & Regards,<br>Godson Gera<br><a href="http://blog.godson.in/2010/09/how-to-make-python-xmlrpclib-client.html">Python Consultant India</a></div>
<div> </div>
<div class="gmail_quote">On Thu, Oct 28, 2010 at 1:53 PM, hackingKK <span dir="ltr"><<a href="mailto:hackingkk@gmail.com">hackingkk@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote"><br>Hello all,<br>Some days back I had asked a few questions about parsing xml files using python.<br>I have tryed dom.minidom module but I did not like the prittyPrint way of writing nodes.<br>
There were many other things I did not quite like about dom.minidom, so now trying to use elementTree.<br>But to my surprise, I could not import xml.elementtree in my default python 2.6 setup.<br>is it possible that I have broken some thing?<br>
I had to later on do an easy_install for elementree.<br>But I hear that elementtree is a part of python?<br>So has my import gone wrong? or is some thing broken in my python setup?<br><br>happy hacking.<br>Krishnakant.<br>
<font color="#888888"><br><br>-- <br><a href="http://mail.python.org/mailman/listinfo/python-list" target="_blank">http://mail.python.org/mailman/listinfo/python-list</a><br></font></blockquote></div><br><br clear="all"><br>
-- <br>Thanks & Regards,<br>Godson Gera<br><br>