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

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

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

find_spec(fullname, path, target=None) An abstract method for finding a spec for the

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

class importlib.abc.Finder An abstract base class representing a finder.

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

class importlib.machinery.FileFinder(path, *loader_details) A concrete implementation of importlib.abc.PathEntryFinder

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

runpy.run_module(mod_name, init_globals=None, run_name=None, alter_sys=False) Execute the code of the specified module and return

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
pkgutil.get_importer()
  • References/Python/Python/Importing

pkgutil.get_importer(path_item) Retrieve a

2025-01-10 15:47:30