Quantcast
Channel: Using Python Iterparse For Large XML Files - Stack Overflow
Viewing all articles
Browse latest Browse all 7

Answer by Steven for Using Python Iterparse For Large XML Files

$
0
0

iterparse() lets you do stuff while building the tree, that means that unless you remove what you don't need anymore, you'll still end up with the whole tree in the end.

For more information: read this by the author of the original ElementTree implementation (but it's also applicable to lxml)


Viewing all articles
Browse latest Browse all 7

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>