This function has the same interface as imp.find_module(), but also works with dotted names.
yields the namepart and importer information for every part of a dotted module name, and raises ImportError when the name cannot be found.
The result elements are tuples with two elements, the first is a module name, the second is the result for imp.find_module() for that module (taking into account PEP 302 importers)
Deprecated since version 0.10.
Returns the encoding of a python source file.