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

class importlib.abc.SourceLoader An abstract base class for implementing source (and optionally bytecode) file loading. The

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

importlib.__import__(name, globals=None, locals=None, fromlist=(), level=0) An implementation of the built-in

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

importlib.reload(module) Reload a previously imported module. The argument must be a module object, so it must have

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

importlib.import_module(name, package=None) Import a module. The name argument specifies what module to import in absolute

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

submodule_search_locations

2025-01-10 15:47:30
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
zipimport.zipimporter.get_filename()
  • References/Python/Python/Importing

get_filename(fullname) Return the value __file__ would be set to if the specified module was imported. Raise

2025-01-10 15:47:30