ModuleLoader

Provides a way to load dynamic modules. Either use a DynamicModuleLoader or the importlib.import_module function depending on how much customization is needed.

 

__init__(self, rootdir='', rootpkg=None, retag=False): 
  • rootdir: str

    root directory to look for files off of

  • rootpkg: str or None

    root package to look for files off of

 

load(self, file, pkg=None): 

Feedback

Examples

Templates

Documentation