Is is possible to call the child classes and the parent class from another python script dynamically -
class animal(self): def putdata(self, dict) # @ abc.abstractmethod def getsum(self, *args, **kwargs): pass class dog(animal): def display(self): # def getsum(self,count): # class cat(animal): def calculate(self): # def getsum(self,*dict): #
all these class files in folder /username/pacagename/ , python script have call these 4 classes in /username/packagename/bin
Comments
Post a Comment