The code from the python dojo session on 30th January, 2013