importlib.util.module_from_spec(spec) Create a new module based on spec and spec.loader.create_module()
get_data(pathname) Return the data associated with pathname. Raise
get_code(fullname) Returns the code object for name created from path.
classmethod path_hook(*loader_details) A class method which returns a closure for use on
classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in
importlib.__import__(name, globals=None, locals=None, fromlist=(), level=0) An implementation of the built-in
get_source(fullname) Return the source code for the specified module. Raise ZipImportError if the module couldn’t
find_loader(fullname) Attempt to find the loader to handle fullname within path.
class importlib.util.LazyLoader(loader) A class which postpones the execution of the loader of a module until the module has
class importlib.machinery.WindowsRegistryFinder Finder for modules declared in the Windows
Page 1 of 15