pkgutil.find_loader(fullname)
Retrieve a PEP 302 module loader for the given fullname.
This is a backwards compatibility wrapper around importlib.util.find_spec()
that converts most failures to ImportError
and only returns the loader rather than the full ModuleSpec
.
Changed in version 3.3: Updated to be based directly on importlib
rather than relying on the package internal PEP 302 import emulation.
Changed in version 3.4: Updated to be based on PEP 451
Please login to continue.