I able to load a module in python using
mod = importlib.load_module('module_name')
Now I want to load everything from mod using this way
from mod import *
How could I do that? Above statement gives me error saying, no module name mod.
I able to load a module in python using
mod = importlib.load_module('module_name')
Now I want to load everything from mod using this way
from mod import *
How could I do that? Above statement gives me error saying, no module name mod.