Mar-20-2020, 01:01 AM
(This post was last modified: Mar-20-2020, 01:02 AM by JohnnyCoffee.)
I need to access a class method (moduleB) by returning a class A method. This I can do by importing the native module to receive the module name as a parameter:
importlib.import_module(moduleB)Now I need to get the parameter of methodB and give functionality in the return:
params = "methodB()" return ModuleB.paramsDoes the example above generate an error ?