class SuperHero(object):

    def getName(self):
        raise NotImplementedError


class SuperMan(SuperHero):

    def getName(self):
        return 'Clark Kent'


class SuperManII(SuperHero):

    def getName(self):
        return 'Clark Kent, Jr.'
if __name__ == '__main__':
    sm = SuperMan()
print(sm.getName())
sm2 = SuperManII()
print(sm2.getName())
Python: How do I make a subclass from a superclass?