SyntaxFix
Write A Post
Hire A Developer
Questions
Use getattr to get an attribute from a name in a string. In other words, get the instance as
getattr
instance = getattr(modul, class_name)()