Whenever I create a block of code and think that there’s got to be a more elegant way, I find that underscore has the utility. I still find myself surprised and delighted when I discover yet another, needed function on that list that I had overlooked before.
Underscore’s web site itself is a case-study on the best of the Modern Web. With the list of Undercore’s “80-odd” functions running down the left-hand side — an easy visual scan — the landing page is focussed on matching the programmer with the sought-after utility in record time.
It was a pleasure to find Python 2.7 already installed with the stack. But after installing Suds and trying to run some scripts developed on a Windows platform, I got the “SAXReaderNotAvailable” error:
raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
Through the usual Google-search-led trial-and-error process I found the following fix: directly install PyXML. (Thanks to TheRosiek.com.)
tar zxvf PyXML-0.8.4.tar.gz
python setup.py install
A “PyXML ” Google search suggests that it has been discontinued for more than half a decade, but it is being updated and it is what is working for me right now.
I’d love to hear about any alternatives to PyXML.