If you're just starting with python parse xml, I'd say go with `ElementTree`—it's built-in and super easy for basic stuff.
No need to overcomplicate things if your files are small.
For malformed XML, maybe try `defusedxml` as a safer alternative.
Check out the official docs too: https://docs.python.org/3/library/xml.et...ttree.html
No need to overcomplicate things if your files are small.
For malformed XML, maybe try `defusedxml` as a safer alternative.
Check out the official docs too: https://docs.python.org/3/library/xml.et...ttree.html
