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

load_module(name=None)

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

class importlib.machinery.BuiltinImporter An importer for built-in modules. All known

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

exec_module(module) Initializes the given module object in accordance with

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

cached

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

loader_state

2025-01-10 15:47:30
modulefinder.ModuleFinder.run_script()
  • References/Python/Python/Importing

run_script(pathname) Analyze the contents of the pathname file, which must contain Python code.

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

path The path to the bytecode file.

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

create_module(spec) A method that returns the module object to use when importing a module. This method may return None

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

modulefinder.ReplacePackage(oldname, newname) Allows specifying that the module named oldname is in fact the package

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

name The name of the module the loader will handle.

2025-01-10 15:47:30