Class Constructor
__init__ method
E.g.
class MyClass:
def __init__(self):
self.data = []
Creation of instances is straightforward
E.g.
x = MyClass()
Previous slide
Next slide
Back to first slide
View graphic version