pkgutil.ImpImporter
  • References/Python/Python/Importing

class pkgutil.ImpImporter(dirname=None)

2025-01-10 15:47:30
zipimport.zipimporter.prefix
  • References/Python/Python/Importing

prefix The subpath within the ZIP file where modules are searched. This is the empty string for zipimporter objects which point

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
zipimport.zipimporter.load_module()
  • References/Python/Python/Importing

load_module(fullname) Load the module specified by fullname. fullname must be the fully qualified (dotted)

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.machinery.ModuleSpec.parent
  • References/Python/Python/Importing

parent

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

pkgutil.find_loader(fullname) Retrieve a

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

classmethod find_module(fullname, path=None) A legacy wrapper around find_spec().

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

importlib.util.spec_from_file_location(name, location, *, loader=None, submodule_search_locations=None) A factory function for

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

load_module(fullname) Concrete implementation of Loader.load_module().

2025-01-10 15:47:30