Learning notes for A byte of Python