high level, fast XML package for Python?

"Martin v. Löwis" martin at v.loewis.de
Sun Sep 17 03:14:23 EDT 2006


Gleb Rybkin schrieb:
> I searched online, but couldn't really find a standard package for
> working with Python and XML -- everybody seems to suggest different
> ones.
> 
> Is there a standard xml package for Python? Preferably high-level, fast
> and that can parse in-file, not in-memory since I  have to deal with
> potentially MBs of data. 

It seems that everybody is proposing libraries that use in-memory
representations. There is a standard xml package for Python, it's
called "xml" (and comes with the standard library). It contains a
SAX interface, xml.sax, which can parse files incrementally.

Regards,
Martin



More information about the Python-list mailing list