Python OOP Syntax


    class ClassName:
        def __init__(self, ...):
            ...

        def method1(self, ...):
            ...
        def method2(self, ...):
            ...