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.machinery.SourceFileLoader.set_data()
  • References/Python/Python/Importing

set_data(path, data) Concrete implementation of importlib.abc.SourceLoader.set_data().

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

path_stats(path) Concrete implementation of importlib.abc.SourceLoader.path_stats().

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

importlib.invalidate_caches() Invalidate the internal caches of finders stored at

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

class importlib.abc.PathEntryFinder An abstract base class representing a path entry finder

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
importlib.machinery.ExtensionFileLoader.is_package()
  • References/Python/Python/Importing

is_package(fullname) Returns True if the file path points to a package’s __init__ module based on

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

create_module(spec) Creates the module object from the given specification in accordance with

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

name The name of the module the loader can handle.

2025-01-10 15:47:30