how do i handle xml in chunks using python? -


i loading xml memory using elementtree, not problem when files of reasonable size of files dealing on 500mb in size , means xml fails load memory. current code pretty standard follows:

    tree = et.parse(xmlloc)     root= tree.getroot()             element in root.iter(elementname):                 # work here 

is there way of doing above in chunks?


Comments

Popular posts from this blog

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

rest - Spring boot: Request method 'PUT' not supported -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -