ExtensionLoader
An ExtensionLoader creates a Loader object that can load a python module from a file path
Properties and Methods
__init__(self, rootdir='', rootpkg=None):
rootdir
:str
root directory to look for files off of
rootpkg
:str or None
root package to look for files off of
get_data(self, file):
get_filename(self, fullname):
get_spec(self, file, pkg=None):
load(self, file, pkg=None):
loads a file as a module with optional package name
file
:str
No description…
pkg
:str or None
No description…
:returns
:module
No description…
Examples
Edit Examples or
Create New Examples
Edit Template or
Create New Template
Edit Docstrings