importlib.machinery.SourcelessFileLoader.get_source()
  • References/Python/Python/Importing

get_source(fullname) Returns None as bytecode files have no source when this loader is used.

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

get_code(fullname) Returns the code object for name created from path.

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

class importlib.machinery.WindowsRegistryFinder Finder for modules declared in the Windows

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

load_module(name=None) Concrete implementation of importlib.abc.Loader.load_module() where specifying the name

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

get_source(fullname) Concrete implementation of InspectLoader.get_source().

2025-01-10 15:47:30