importlib.machinery.PathFinder.invalidate_caches()
  • References/Python/Python/Importing

classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in

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.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
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
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
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
modulefinder.ModuleFinder.modules
  • References/Python/Python/Importing

modules A dictionary mapping module names to modules. See Example usage of ModuleFinder.

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
modulefinder.ModuleFinder.report()
  • References/Python/Python/Importing

report() Print a report to standard output that lists the modules imported by the script and their paths, as well as modules

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

get_data(pathname) Return the data associated with pathname. Raise

2025-01-10 15:47:30