include.files.import_hook module

class include.files.import_hook.FilePathLoader(module_prefix)

Bases: include.base.import_hook.BaseIncludeLoader

Load python file from their path

This import hook allows using encoded paths as module names to load modules directly from their file.

load_module(name)

Load and return a module

Always returns the corresponding module. If the module is already loaded, the existing module is returned.