I don't quite understand why the keyword self is necessary in the __init__()
method in python.
class Test:
def __init__(self):
print("Test")
I understand that 'self' represents the object, but for what reason do I need this in the 'constructor'? I mean, if it has do to with something going on in the background, why wouldn't you leave it out entirely since it's always required anyways?
Thanks in advance.