[Tutor] ElementTree - reading large XML files as file handles
Srinivas Iyyer
srini_iyyer_bio at yahoo.com
Wed Nov 21 18:02:47 CET 2007
Dear tutors,
I use ElementTree for XML works. I have a 1.3GB file
to parse.
I takes a lot of time to open my input XML file.
Is that because of my hardware limitation or am I
using a blunt method to load the file.
my computer config:
Inte(R)
Pentium(R)4 CPU 2.80GHz
2.79GHz, 0.99GB of RAM
from elementtree import ElementTree
myfile = open('myXML.out','r')
Do you suggest any tip to circumvent the file opening
problem.
thanks
Srini
____________________________________________________________________________________
Be a better sports nut! Let your teams follow you
with Yahoo Mobile. Try it now. http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ
More information about the Tutor
mailing list