class myParent(object):

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


class Child(myParent):

    def __init__(self, customParam):
        myParent.__init__(self, customParam)
self.childNumber = 4
Python: Getting baseclass values from derived class