zipimport.ZipImportError
  • References/Python/Python/Importing

exception zipimport.ZipImportError Exception raised by zipimporter objects. It’s a subclass of

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

run_script(pathname) Analyze the contents of the pathname file, which must contain Python code.

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

name The name of the module the loader will handle.

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

path The path to the bytecode file.

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

modulefinder.ReplacePackage(oldname, newname) Allows specifying that the module named oldname is in fact the package

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

modulefinder.AddPackagePath(pkg_name, path) Record that the package named pkg_name can be found in the specified path

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

load_module(name=None)

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

loader_state

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

exec_module(module) Initializes the given module object in accordance with

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

cached

2025-01-10 15:47:30