This module provides an interface to the mechanisms used to
implement the import statement. It defines the following
constants and functions: - get_magic () Return the magic string
value used to recognize byte-compiled code files (.pyc files).
(This value may be different for each - get_suffixes () Return a
list of triples, each describing a particular type of module.
Each triple has the form type), where suffix is a string to be
appended to the module name to form the filename to search for,
mode is the mode string to pass to the built-in open() function
to open the file (this can be 'r' for text files or 'rb' for
binary files), and type is the file type, which has one of the
values PY_SOURCE, PY_COMPILED, or C_EXTENSION, described below.
- find_module (name[, path]) Try to find the module name on the
search path path. If path is a list of directory names, each
directory is searched for files with any of the suffixes
returned by get_suffixes() above. Invalid names in the list are
silently ignored (but all li