Context Manager examples


A few examples where context managers can be useful: