Module pkgutil :: Class ImpImporter
[hide private]
[frames] | no frames]

_ClassType ImpImporter

PEP 302 Importer that wraps Python's "classic" import algorithm

ImpImporter(dirname) produces a PEP 302 importer that searches that directory. ImpImporter(None) produces a PEP 302 importer that searches the current sys.path, plus any modules that are frozen or built-in.

Note that ImpImporter does not currently support being used by placement on sys.meta_path.

Instance Methods [hide private]
 
__init__(self, path=None)
 
find_module(self, fullname, path=None)
 
iter_modules(self, prefix='')