importlib.find_loader()
  • References/Python/Python/Importing

importlib.find_loader(name, path=None) Find the loader for a module, optionally within the specified path. If the module

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
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
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
importlib.machinery.ModuleSpec.submodule_search_locations
  • References/Python/Python/Importing

submodule_search_locations

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

class pkgutil.ImpImporter(dirname=None)

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

load_module(fullname) Load the module specified by fullname. fullname must be the fully qualified (dotted)

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

classmethod find_module(fullname, path=None) A legacy wrapper around find_spec().

2025-01-10 15:47:30