Introduction to Computing Using Python Namespaces and Exceptions, revisited Encapsulation in Functions Global versus Local Namespaces Exceptional.