load_module(fullname) A legacy method for loading a module. If the module cannot be loaded,
@importlib.util.module_for_loader A decorator for importlib.abc.Loader.load_module()
abstractmethod get_data(path) An abstract method to return the bytes for the data located at path. Loaders that have
class importlib.abc.ResourceLoader An abstract base class for a loader which implements
importlib.util.spec_from_loader(name, loader, *, origin=None, is_package=None) A factory function for creating a ModuleSpec
get_code(fullname) Return the code object for a module, or None if the module does not have a code object (as would
pkgutil.get_data(package, resource) Get a resource from a package. This is a wrapper for the
exec_module(module) An abstract method that executes the module in its own namespace when a module is imported or reloaded.
pkgutil.iter_importers(fullname='') Yield
pkgutil.get_loader(module_or_name) Get a
Page 9 of 15