modulefinder.AddPackagePath()
  • References/Python/Python/Importing

modulefinder.AddPackagePath(pkg_name, path) Record that the package named pkg_name can be found in the specified path

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

importlib.machinery.EXTENSION_SUFFIXES A list of strings representing the recognized file suffixes for extension modules.

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

is_package(fullname) Concrete implementation of InspectLoader.is_package(). A module is determined to be a package

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

get_code(fullname) Concrete implementation of InspectLoader.get_code().

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

invalidate_caches() Clear out the internal cache.

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

find_spec(fullname, target=None) An abstract method for finding a spec for the specified

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

pkgutil.get_loader(module_or_name) Get a

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

importlib.util.MAGIC_NUMBER The bytes which represent the bytecode version number. If you need help with loading/writing bytecode

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

has_location

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

importlib.machinery.all_suffixes() Returns a combined list of strings representing all file suffixes for modules recognized

2025-01-10 15:47:30