Reputation: 2693
Considering that I want to write python code that would run on Google App Engine and also inside jython, C-extensions are not an option. Amara was a nice library, but due to its C-extensions, I can't use it for either of these platforms.
Upvotes: 6
Views: 1500
Reputation: 53
I would normally recommend lxml, but since that uses a C-library (libxml) the alternative would have to be, as Aaron has already suggested, ElementTree (as far as I know there is both a pure python and a c implementation of it available). Found this via google search
Good luck!
Upvotes: 1
Reputation: 28215
There's also Beautiful Soup (which may be geared more toward HTML, but it also does XML).
Upvotes: 4