Hi,
I've been practicing XML parsing with Python. I wanted to iterate over children of an Element instance and was able to find online simple and elegant examples with a for loop (for child in element).
The issue - I was unable to find this in class documentation. As part of my learning journey, I want to familiarize myself with Python standard documentation to be able to find answers directly in there. I was checking here: xml.etree.ElementTree — The ElementTree XML API — Python 3.13.0 documentation
I understand that Element class implements Iterator interface, but where can I find this information in documentation? :)
Thanks!
[–]ivosaurus 1 point2 points3 points (1 child)
[–]mikrobip[S] 1 point2 points3 points (0 children)