Monthly Archives: October 2016

An Extension for Python re: regex

One thing I dislike about python is how painful it is to use regular expressions that capture matching groups of characters. For example, if I want to find words in quotes, I would write: quotedWordPattern = re.compile(r'”([^”]+)”(.*)’) match = quotedWordPattern(text) … Continue reading

Posted in python programming | Tagged , , , , , | Leave a comment

Python Unit Testing with pytest

Pytest is a unit testing framework for python that offers significantly more than the standard unittest module and nose test runner. For example, it supports parameterizing tests, and coverage analysis.   To install it: If you haven’t already, install pip: … Continue reading

Posted in Uncategorized | Leave a comment

The Rise of Go

A first glance at the Tiobe index shows no change since the beginning of the year in the top five programming language. Looking closer, four of the five (Java, C, C#, and python) had lower ratings, with C dropping by … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment