Which python xml parser is the most efficient for large files? or How do you handle XML parsing in Py

22 Replies, 1703 Views

`lxml` is worth the hassle, I promise. The speed difference is night and day.

Also, if your XML is *really* big, maybe rethink the format? JSON or CSV might be easier to handle.

But if you’re stuck with XML, streaming is the only sane option.

Messages In This Thread



Users browsing this thread: 1 Guest(s)