pkgutil.walk_packages(path=None, prefix='', onerror=None) Yields (module_finder, name, ispkg) for all modules recursively
find_loader(fullname) A legacy method for finding a loader for the specified module.
abstractmethod get_source(fullname) An abstract method to return the source of a module. It is returned as a text string using
path_mtime(path) Optional abstract method which returns the modification time for the specified path.
get_source(fullname) Returns None as extension modules do not have source code.
path Path to the file of the module.
importlib.machinery.SOURCE_SUFFIXES A list of strings representing the recognized file suffixes for source modules.
class importlib.machinery.ModuleSpec(name, loader, *, origin=None, loader_state=None, is_package=None) A specification for a
is_package(fullname) Return true if path appears to be for a package.
set_data(path, data) Concrete implementation of importlib.abc.SourceLoader.set_data().
Page 14 of 15