importlib.abc.SourceLoader.get_source()
  • References/Python/Python/Importing

get_source(fullname) Concrete implementation of InspectLoader.get_source().

2025-01-10 15:47:30
modulefinder.ModuleFinder.modules
  • References/Python/Python/Importing

modules A dictionary mapping module names to modules. See Example usage of ModuleFinder.

2025-01-10 15:47:30
importlib.machinery.SourcelessFileLoader.get_source()
  • References/Python/Python/Importing

get_source(fullname) Returns None as bytecode files have no source when this loader is used.

2025-01-10 15:47:30
importlib.machinery.ExtensionFileLoader
  • References/Python/Python/Importing

class importlib.machinery.ExtensionFileLoader(fullname, path) A concrete implementation of importlib.abc.ExecutionLoader

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

importlib.reload(module) Reload a previously imported module. The argument must be a module object, so it must have

2025-01-10 15:47:30
importlib.machinery.FileFinder.path_hook()
  • References/Python/Python/Importing

classmethod path_hook(*loader_details) A class method which returns a closure for use on

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

path_stats(path) Optional abstract method which returns a

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

exec_module(module) Implementation of Loader.exec_module().

2025-01-10 15:47:30
pkgutil.ImpImporter
  • References/Python/Python/Importing

class pkgutil.ImpImporter(dirname=None)

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

abstractmethod find_module(fullname, path=None) An abstact method for finding a loader

2025-01-10 15:47:30