import xml.etree.ElementTree as ET
tree = ET.parse('country_data.xml')
root = tree.getroot()
Traceback (most recent call last):
File "F:\xml.py", line 1, in <module>
import xml.etree.ElementTree as ET
File "F:\xml.py", line 1, in <module>
import xml.etree.ElementTree as ET
ModuleNotFoundError: No module named 'xml.etree'; 'xml' is not a package