Mar-23-2020, 04:23 PM
(This post was last modified: Mar-23-2020, 04:23 PM by JohnnyCoffee.)
I have a Function (Main), which receives two parameters containing a module and method. To import module that appears in the parameter use the native module (importlib) as below :
from importlib import import_module import_module(variable_module)Now I need to get the method parameter to be able to mount the return in the (main) function. How could I write the syntax once the module and method are dynamic, (variable_module and variable_metodo):
return ?