xml.etree.ElementTree.parse()

xml.etree.ElementTree.parse(source, parser=None)

Parses an XML section into an element tree. source is a filename or file object containing XML data. parser is an optional parser instance. If not given, the standard XMLParser parser is used. Returns an ElementTree instance.

doc_python
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.