[Tutor] Creating instance of child classes dynamically

Sachit Murarka connectsachit at gmail.com
Sun Feb 7 08:22:42 EST 2021


Hey Users,

I have different classes in different python files. There are child classes
and I do have a base class in a different class.

My input to the python will be a string , according to the string I have to
create an object of child class and call the functions.

Here I have to use the concept of reflection + dynamic polymorphism.

Could anyone please help me here?


Kind Regards,
Sachit Murarka


More information about the Tutor mailing list