following the book Learn Python The Hard Way