You are on page 1of 1

To create a new class

class NewClass(object):
To create an object
Object name = classname (parameters)
To inherit a class from another base class
class DerivedClassName(BaseClassName)
Super call from a derived class to a base class function
class Derived(Base):
def m(self):
return super(Derived, self).m()