pkgutil.ImpLoader
  • References/Python/Python/Importing

class pkgutil.ImpLoader(fullname, file, filename, etc)

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

class importlib.machinery.SourcelessFileLoader(fullname, path) A concrete implementation of importlib.abc.FileLoader

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

path The path to the source file.

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

@importlib.util.set_loader A decorator for importlib.abc.Loader.load_module()

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

importlib.machinery.DEBUG_BYTECODE_SUFFIXES A list of strings representing the file suffixes for non-optimized bytecode modules

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

path Path to the file of the module.

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

importlib.machinery.SOURCE_SUFFIXES A list of strings representing the recognized file suffixes for source modules.

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

importlib.machinery.BYTECODE_SUFFIXES A list of strings representing the recognized file suffixes for bytecode modules (including

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

importlib.machinery.OPTIMIZED_BYTECODE_SUFFIXES A list of strings representing the file suffixes for optimized bytecode modules

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

invalidate_caches() An optional method which, when called, should invalidate any internal cache used by the finder. Used by

2025-01-10 15:47:30