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

pkgutil.walk_packages(path=None, prefix='', onerror=None) Yields (module_finder, name, ispkg) for all modules recursively

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

name The name of the module that this loader will handle.

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.FileFinder.path
  • References/Python/Python/Importing

path The path the finder will search 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.invalidate_caches()
  • References/Python/Python/Importing

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

2025-01-10 15:47:30