zipimport.zipimporter.get_source()
  • References/Python/Python/Importing

get_source(fullname) Return the source code for the specified module. Raise ZipImportError if the module couldn’t

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

importlib.find_loader(name, path=None) Find the loader for a module, optionally within the specified path. If the module

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

class zipimport.zipimporter(archivepath) Create a new zipimporter instance. archivepath must be a path to a ZIP file

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

class importlib.util.LazyLoader(loader) A class which postpones the execution of the loader of a module until the module has

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

get_code(fullname) Returns the code object for name created from path.

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

load_module(name=None) Concrete implementation of importlib.abc.Loader.load_module() where specifying the name

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

importlib.util.module_from_spec(spec) Create a new module based on spec and spec.loader.create_module()

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

class importlib.machinery.FrozenImporter An importer for frozen modules. This class implements

2025-01-10 15:47:30