contents using the python shell as calculator working with functions first-class functions anonymous functions recursion mapfilterreduceand list comprehensions the operator module more about function arguments the itertools and collections modules permutations and combinations cartesian product grouping things miscellaneous things from itertools counting things defaultdict exceptions basics try/except/else try/finally and with/as more with exceptions bibliography index