navigate.tools.common_functions.load_module_from_file
- navigate.tools.common_functions.load_module_from_file(module_name: str, file_path: str) → Optional[any]
This function will load python file from file path as a module
- Parameters:
module_name (str) – the module name
file_path (os.path/str) – the python file path
- Returns:
module – The module. None if the module is not found.
- Return type:
Optional[Any]