I am trying to inherit aiml kernel through class approach
import aiml
class Kern(aiml.Kernel):
def __init__(self):
super(Kern, self).__init__(self)
k = Kern()
aiml.Kernel is a class but still I am getting the below error when I am trying to instantiate the super class from which Kern has inherited
super(Kern, self).__init__(self)
TypeError: must be type, not classobj
Please let me know what is the mistake that am making