importlib.machinery.ModuleSpec.parent
  • References/Python/Python/Importing

parent

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

origin

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

pkgutil.get_importer(path_item) Retrieve a

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

module_repr(module) A legacy method which when implemented calculates and returns the given module’s repr, as a string. The

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

abstractmethod get_data(path) Reads path as a binary file and returns the bytes from it.

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

abstractmethod get_filename(fullname) Returns path.

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
importlib.abc.InspectLoader.load_module()
  • References/Python/Python/Importing

load_module(fullname) Implementation of Loader.load_module().

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
importlib.abc.FileLoader.load_module()
  • References/Python/Python/Importing

load_module(fullname) Calls super’s load_module().

2025-01-10 15:47:30