"What's the best way to parse and manipulate XML in Python?"
Hey folks! I'm diving into some python xml stuff for a project, and I'm kinda overwhelmed by the options.
I've seen `ElementTree`, `lxml`, and even `minidom` thrown around. Which one do y'all prefer for simple parsing and edits?
Also, any pro tips for handling larger files? My script chokes on anything over 10MB lol.
And namespaces... ugh. Why are they so messy in python xml? Any workarounds or libs that make it less painful?
Thanks in advance!
Hey folks! I'm diving into some python xml stuff for a project, and I'm kinda overwhelmed by the options.
I've seen `ElementTree`, `lxml`, and even `minidom` thrown around. Which one do y'all prefer for simple parsing and edits?
Also, any pro tips for handling larger files? My script chokes on anything over 10MB lol.
And namespaces... ugh. Why are they so messy in python xml? Any workarounds or libs that make it less painful?
Thanks in advance!
