title: Python 2.5.4 - ImportError: No module named etree.ElementTree
body: <p>I'm running Python 2.5.4 on Windows and I keep getting an error when trying to import the ElementTree or cElementTree modules. The code is very simple (I'm following a tutorial):</p>
  
  <pre><code>import xml.etree.ElementTree as xml
  
  root = xml.Element('root')
  child = xml.Element('child')
  root.append(child)
  child.attrib['name'] = "Charlie"
  file = open("test.xml", 'w')
  xml.ElementTree(root).write(file)
  file.close()
  </code></pre>
  
  <p>I get the error message when I run it from the cmd or but not when I directly try it from the Python interpreter. </p>
  
  <pre><code>Traceback (most recent call last):  
  File "C:\xml.py", line 31, in &lt;module&gt;
    import xml.etree.ElementTree as xml   
  File "C:\xml.py", line 31, in &lt;module&gt;
    import xml.etree.ElementTree as xml
  ImportError: No module named etree.ElementTree
  </code></pre>
  
  <p>Also, I checked and the module is there in C:\Python25\Lib\xml\etree</p>