importlib.abc.FileLoader
  • References/Python/Python/Importing

class importlib.abc.FileLoader(fullname, path) An abstract base class which inherits from ResourceLoader and

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

classmethod find_spec(fullname, path=None, target=None) Class method that attempts to find a spec

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

importlib.util.resolve_name(name, package) Resolve a relative module name to an absolute one. If

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

find_loader(fullname) A legacy method for finding a loader for the specified module.

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

class importlib.machinery.ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) A specification for a

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

is_package(fullname) Return true if path appears to be for a package.

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

path Path to the extension module.

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

classmethod factory(loader) A static method which returns a callable that creates a lazy loader. This is meant to be used in

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

path_mtime(path) Optional abstract method which returns the modification time for the specified path.

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

class importlib.machinery.SourceFileLoader(fullname, path) A concrete implementation of importlib.abc.SourceLoader

2025-01-10 15:47:30