this is very important to me, i want import a module or package (namespace) from another namespace variable.
example
is there a function like get_module_from_name_space ?
example
import mydir # imports namepace module_foo = get_module_from_name_space("foo", namespace = mydir) # imports foo module from mydir. that means from mydir import foo expression but I must import foo in that way, with this function. print(module_foo == mydir.foo) # prints Truethanks.
is there a function like get_module_from_name_space ?