invalidate_caches() Clear out the internal cache.
importlib.util.spec_from_loader(name, loader, *, origin=None, is_package=None) A factory function for creating a ModuleSpec
loader
pkgutil.get_data(package, resource) Get a resource from a package. This is a wrapper for the
importlib.machinery.all_suffixes() Returns a combined list of strings representing all file suffixes for modules recognized
importlib.util.cache_from_source(path, debug_override=None, *, optimization=None) Return the
is_package(fullname) Concrete implementation of InspectLoader.is_package(). A module is determined to be a package
load_module(fullname) A legacy method for loading a module. If the module cannot be loaded,
runpy.run_path(file_path, init_globals=None, run_name=None) Execute the code at the named filesystem location and return the
get_code(fullname) Return the code object for a module, or None if the module does not have a code object (as would
Page 10 of 15