Seems the lesson is that Python is slow. Author's realization about how to use it correctly was to just call C instead.
Article not worth reading. Would have been much better as a quick tip. "Quick tip: if you need to loop through an array in Python, do it this way instead..."