xml.etree
— The ElementTree API for XML¶
2.5 版新加入.
The ElementTree package is a simple, efficient, and quite popular library for
XML manipulation in Python. The xml.etree
package contains the most
common components from the ElementTree API library. In the current release,
this package contains the ElementTree
, ElementPath
, and
ElementInclude
modules from the full ElementTree distribution.
也參考
- ElementTree Overview
- The home page for
ElementTree
. This includes links to additional documentation, alternative implementations, and other add-ons.