exception zipimport.ZipImportError Exception raised by zipimporter objects. It’s a subclass of
get_code(fullname) Return the code object for the specified module. Raise ZipImportError if the module couldn’t
find_spec(fullname, path, target=None) An abstract method for finding a spec for the
pkgutil.find_loader(fullname) Retrieve a
importlib.util.spec_from_file_location(name, location, *, loader=None, submodule_search_locations=None) A factory function for
class importlib.abc.Finder An abstract base class representing a finder.
class importlib.machinery.FileFinder(path, *loader_details) A concrete implementation of importlib.abc.PathEntryFinder
runpy.run_module(mod_name, init_globals=None, run_name=None, alter_sys=False) Execute the code of the specified module and return
module_repr(module) A legacy method which when implemented calculates and returns the given module’s repr, as a string. The
pkgutil.get_importer(path_item) Retrieve a
Page 5 of 15