Doing an exercise that starts with the following code:
import xml.etree.ElementTree as ET
tells me when executing it that it can not find the module.
Traceback (most recent call last): File "C: \ Python27 \ xml1.py", line 1, in import xml.etree.ElementTree as ET File "C: \ Python27 \ xml.py", line 1, in import xml.etree.ElementTree as ET ImportError: No module named etree.ElementTree
The module exists in the Lib \ xml \ etree folder. Maybe I need to have it installed, not just hosted? Am I calling it in the wrong way?
Thank you.