python tutorial from http://learnpythonthehardway.org/