"Python etree vs. other XML libraries—what’s your go-to and why?"
Alright, so I've been wrestling with XML in Python for a while now, and I keep coming back to Python etree. Like, it's just *there*, ya know? Built-in, no extra installs, and gets the job done.
But then there’s lxml—super fast, more features, but sometimes feels like overkill? And don’t even get me started on minidom... *shudders*.
So what’s your pick? Do you stick with Python etree for simplicity, or do you go all-in with lxml for the speed? Or am I missing some hidden gem?
(Also, why is XML still a thing in 2023? But that’s a rant for another day.)
Alright, so I've been wrestling with XML in Python for a while now, and I keep coming back to Python etree. Like, it's just *there*, ya know? Built-in, no extra installs, and gets the job done.
But then there’s lxml—super fast, more features, but sometimes feels like overkill? And don’t even get me started on minidom... *shudders*.
So what’s your pick? Do you stick with Python etree for simplicity, or do you go all-in with lxml for the speed? Or am I missing some hidden gem?
(Also, why is XML still a thing in 2023? But that’s a rant for another day.)
