importlib.import_module(name, package=None) Import a module. The name argument specifies what module to import in absolute
path_stats(path) Optional abstract method which returns a
classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in
classmethod path_hook(*loader_details) A class method which returns a closure for use on
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
report() Print a report to standard output that lists the modules imported by the script and their paths, as well as modules
Page 2 of 15