class myParent(object):

    def customInit(self, customParam):
        self.parentNumber = 5
self.customParam = customParam


class Child(myParent):

    def __init__(self, customParam):
        self.childNumber = 4
p = Child()
p.customInit(10)
p.multiplyNumbers()
Python: Getting baseclass values from derived class