Code for "Python the Hard Way"