[b]"What's the best Python XML parser for handling large files efficiently?"[/b] or [b]"How do you choose the righ

22 Replies, 1101 Views

"Python XML parser for big files—what's the best pick?"

Hey folks!

So I’ve got this *massive* XML file to parse, and the built-in Python XML parser (you know, `xml.etree`) is kinda choking on it. 😅

I’ve heard `lxml` is fast, but is it still the go-to? Or are there better options now?

Also, what about memory usage? Some parsers claim to be "efficient," but then my RAM just nopes out.

Any recs for a Python XML parser that won’t make me regret my life choices?

(Or am I just using the wrong approach entirely? 🤔)

Thanks in advance!

Messages In This Thread
[b]"What's the best Python XML parser for handling large files efficiently?"[/b] or [b]"How do you choose the righ - by - 17-05-2024, 06:05 PM



Users browsing this thread: 1 Guest(s)