When executing the file, it raises the following error:
import xml.etree.ElementTree as ET
... ...
According the stackoverflow post, it was caused by the moudle file name xml.py, rename the xml.py to something else resolved the issue.
ImportError: No module named etree.ElementTree
No comments:
Post a Comment