The following contains code for Learn Python the Hard Way: http://learnpythonthehardway.org/