💾 Archived View for tris.fyi › pydoc › importlib captured on 2023-04-26 at 13:30:11. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-01-29)
-=-=-=-=-=-=-
A pure Python implementation of import.
find_loader(name, path=None) Return the loader for the specified module. This is a backward-compatible wrapper around find_spec(). This function is deprecated in favor of importlib.util.find_spec().
import_module(name, package=None) Import a module. The 'package' argument is required when performing a relative import. It specifies the package to use as the anchor point from which to resolve the relative import to an absolute import.
invalidate_caches() Call the invalidate_caches() method on all meta path finders stored in sys.meta_path (where implemented).
reload(module) Reload the module and return it. The module must have been successfully imported before.