Björn Ricks A personal Blog.

Thu 08 February 2024

xml.etree.ElementTree vs. lxml.etree

When working with XML and Python I often start with just using xml.etree.ElementTree from Python’s standard library. It comes with Python and is sufficient for most projects. But with quite big XML documents (> 1 GiB) parsing becomes slow and lxml.etree shines.

Read more
Contents © 2025 Björn Ricks - Powered by Pelican