Answer by Fredrik Håård for python xml iterating over elements takes a lot of...
etree is going to consume a lot of memory (yes, even with iterparse()), and sax is really clunky. However, pulldom to the rescue!from xml.dom import pulldomdoc = pulldom.parse('large.xml')for event,...
View Articlepython xml iterating over elements takes a lot of memory
I have some very big XML files (around ~100-150 MB each). One element in my XML is M (for member), which is a child of HH (household) - i.e. - each household contains one or more members. What I need...
View Article
More Pages to Explore .....