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
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
importlib.abc.InspectLoader.is_package()
  • References/Python/Python/Importing

is_package(fullname) An abstract method to return a true value if the module is a package, a false value otherwise.

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

abstractmethod get_filename(fullname) An abstract method that is to return the value of __file__ for the specified

2025-01-10 15:47:30