ramp_utils
.import_module_from_source¶
-
ramp_utils.
import_module_from_source
(source, name)¶ Load a module from a Python source file.
- Parameters
- sourcestr
Path to the Python source file which will be loaded as a module.
- namestr
Name to give to the module once loaded.
- Returns
- ——-
- modulePython module
Return the Python module which has been loaded.