In Python, how do you make a subclass from a superclass?
Subclassing in Python is done as follows:
class WindowElement: def print(self): pass class Button(WindowElement): def print(self): pass
Here is a tutorial about Python that also contains classes and subclasses.