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

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -