Object Orientation

Python offers full support for object-oriented programming OOP. The following listing is an example that could be the beginning of a simple shapes module for a drawing program.