Code Samples from the book Learn Python The Hard Way