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.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.FileFinder.find_spec()
  • References/Python/Python/Importing

find_spec(fullname, target=None) Attempt to find the spec to handle fullname within path.

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

path The path the finder will search in.

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.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.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.InspectLoader.source_to_code()
  • References/Python/Python/Importing

static source_to_code(data, path='') Create a code object from Python source. The data

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

get_code(fullname) Returns None as extension modules lack a code object.

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