Link Details

Link 96247 thumbnail
User 316756 avatar

By sean.lynch
via sean.lyn.ch
Published: Jul 20 2008 / 11:37

The Python core libraries include six different methods for parsing and creating XML, none of which feel particularly Pythonic (here I am, three weeks into developing with Python and already I’m calling out core libraries as not being Python-y enough). I missed the low overhead methods I had used in other languages. Particularly for parsing XML, PHP’s simplexml is hard to beat, and for building, it’s hands-down Ruby’s XML Builder. Off I went, hunting for Python ports.
  • 6
  • 1
  • 1431
  • 280

Comments

Add your comment
User 209500 avatar

rlamarch replied ago:

0 votes Vote down Vote up Reply

He got excellent pointers in the post comments with ElementTree and lxml.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (1)