find_module
Version of :func:imp.find_module supporting dots.
def find_module(
module: string,
path: list = null,
imp: callable = null
) - > module
Version of :func:imp.find_module supporting dots.
Parameters
| Name | Type | Description |
|---|---|---|
| module | string | The dot-separated name of the module to locate and import. |
| path | list = null | Optional list of directory paths to search for the module; defaults to sys.path. |
| imp | callable = null | The import function to use for loading; defaults to import_module if not provided. |
Returns
| Type | Description |
|---|---|
module | The loaded module object corresponding to the provided module name. |