Code Samples

Here are various code samples that are used in the course. You can
cut and paste these to your own machine to try them out. The order in
which these are listed follow the course outline. You'll need Python 3.4.

Part 2 : And Now For Something Completely Different

cm.py. Sample implementation of context managers using generators.
Similar to contextlib standard library.