Python libxml2

Kimbro Staken gives an example of XPath code with Python’s libxml2 bindings. I didn’t even know about this; I always end up poncing around with from xml.xpath import Evaluate or whatever. How are people to find out which XML libraries to use? I do normally try and stick with what you get in stock Python when I write code, to minimise dependencies, but maybe I should rethink that policy.

Oh, and, since “pytohn” isn’t a word, I wish all operating systems would autocorrect it whenever I type it.

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)