get_source(fullname) Return the source code for the specified module. Raise ZipImportError if the module couldn’t
get_source(fullname) Concrete implementation of InspectLoader.get_source().
report() Print a report to standard output that lists the modules imported by the script and their paths, as well as modules
importlib.import_module(name, package=None) Import a module. The name argument specifies what module to import in absolute
get_source(fullname) Returns None as bytecode files have no source when this loader is used.
class importlib.machinery.FrozenImporter An importer for frozen modules. This class implements
importlib.reload(module) Reload a previously imported module. The argument must be a module object, so it must have
importlib.find_loader(name, path=None) Find the loader for a module, optionally within the specified path. If the module
classmethod invalidate_caches() Calls importlib.abc.PathEntryFinder.invalidate_caches() on all finders stored in
get_filename(fullname) Return the value __file__ would be set to if the specified module was imported. Raise
Page 1 of 15