QuickStart to ElementTree: Manipulating XML in Python
3 min readDec 21, 2022
Learn by example: a quick step-by-step tutorial on main ElementTree features. Read, find element(s), create, iterate and save to XML.
The xml.etree.ElementTree
module implements a simple and efficient API for parsing and creating XML data in Python.
https://docs.python.org/3/library/xml.etree.elementtree.html