working my way through the python appendix