https://pymotw.com/2/xml/etree/ElementTree/
xml.etree.ElementTree – XML Manipulation API¶
Generate and parse XML documents |
2.5 and later |
The ElementTree library was contributed to the standard library by Fredrick Lundh. It includes tools for parsing XML using event-based and document-based APIs, searching parsed documents with XPath expressions, and creating new or modifying existing documents.
Note
All of the examples in this section use the Python implementation of ElementTree for simplicity, but there is also a C implementation in xml.etree.cElementTree.
See also