- FindImporter(fullname)
-
Find a PEP 302 "loader" object for fullname
If fullname contains dots, path must be the containing package's
__path__. Returns None if the module cannot be found or imported.
- FindLoader = find_loader(fullname)
-
Find a PEP 302 "loader" object for fullname
If fullname contains dots, path must be the containing package's
__path__. Returns None if the module cannot be found or imported.
- GetImporter = get_importer(path_item)
-
Retrieve a PEP 302 importer for the given path item
- GetLastModified(fullname)
-
Returns the last modified timestamp for the given module.
- GetResourceFilename(package, resource)
-
Returns a true filesystem name for the specified resource.
- GetResourceLastModified(package, resource)
-
Return a timestamp indicating the last-modified time of the
specified resource. Raises IOError is the pathname cannot be found
from the loader for 'fullname'.
- GetResourceStream(package, resource)
-
Return a readable stream for specified resource
- GetResourceString(package, resource)
-
Return a string containing the contents of the specified resource.
If the pathname is absolute it is retrieved starting at the path of
the importer for 'fullname'. Otherwise, it is retrieved relative
to the module within the loader.
- GetSearchPath(fullname)
- IterModules = iter_modules(path=None, prefix='')
-
Yield submodule names+loaders for path or sys.path
- NormalizeResource(package, resource)
- OsPathToResource(pathname)