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