importlib.abc.Loader.load_module()
  • References/Python/Python/Importing

load_module(fullname) A legacy method for loading a module. If the module cannot be loaded,

2025-01-10 15:47:30
importlib.util.module_for_loader()
  • References/Python/Python/Importing

@importlib.util.module_for_loader A decorator for importlib.abc.Loader.load_module()

2025-01-10 15:47:30
importlib.abc.ResourceLoader.get_data()
  • References/Python/Python/Importing

abstractmethod get_data(path) An abstract method to return the bytes for the data located at path. Loaders that have

2025-01-10 15:47:30
importlib.abc.ResourceLoader
  • References/Python/Python/Importing

class importlib.abc.ResourceLoader An abstract base class for a loader which implements

2025-01-10 15:47:30
importlib.util.spec_from_loader()
  • References/Python/Python/Importing

importlib.util.spec_from_loader(name, loader, *, origin=None, is_package=None) A factory function for creating a ModuleSpec

2025-01-10 15:47:30
importlib.abc.InspectLoader.get_code()
  • References/Python/Python/Importing

get_code(fullname) Return the code object for a module, or None if the module does not have a code object (as would

2025-01-10 15:47:30
pkgutil.get_data()
  • References/Python/Python/Importing

pkgutil.get_data(package, resource) Get a resource from a package. This is a wrapper for the

2025-01-10 15:47:30
importlib.abc.Loader.exec_module()
  • References/Python/Python/Importing

exec_module(module) An abstract method that executes the module in its own namespace when a module is imported or reloaded.

2025-01-10 15:47:30
pkgutil.iter_importers()
  • References/Python/Python/Importing

pkgutil.iter_importers(fullname='') Yield

2025-01-10 15:47:30
pkgutil.get_loader()
  • References/Python/Python/Importing

pkgutil.get_loader(module_or_name) Get a

2025-01-10 15:47:30