taking notes on Learning Python 5th ed