Implement a Point class. This class should inherit from object. It should have two instance variables: x and y. In your Point class implement these methods:
Implement a DescriptionPoint class. This class should inherit from class Point (above). Add instance variable description. Override method show.
Implement another subclass of class Point. Call it ColorPoint. Override method show. Implement managed access to the color instance variable using the property built-in function. See: http://docs.python.org/2/library/functions.html#property
Add a class variable to your class. Call it Translate. Use it to translate each coordinate when the show method is called. For example, coordinates (x, y) might become (x + Translate, y + Translate).
Implement a class named "Wrapper" that implements the context manager protocol:
See: Context Manager Types -- http://docs.python.org/2/library/stdtypes.html#context-manager-types.
What you will learn:
Points to think about: