pkgutil.iter_modules()
  • References/Python/Python/Importing

pkgutil.iter_modules(path=None, prefix='') Yields (module_finder, name, ispkg) for all submodules on path

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

invalidate_caches() Clear out the internal cache.

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

name Name of the module the loader supports.

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

importlib.util.cache_from_source(path, debug_override=None, *, optimization=None) Return the

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

runpy.run_path(file_path, init_globals=None, run_name=None) Execute the code at the named filesystem location and return the

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
importlib.abc.Loader
  • References/Python/Python/Importing

class importlib.abc.Loader An abstract base class for a loader. See

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

class importlib.abc.InspectLoader An abstract base class for a loader which implements

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