• Home
  • Raw
  • Download

Lines Matching +full:module +full:- +full:importer

1 :mod:`pkgutil` --- Package extension utility
4 .. module:: pkgutil
11 --------------
13 This module provides utilities for the import system, in particular package
32 :mod:`site` module for more information), except that it doesn't special-case
43 that are not (Unicode or 8-bit) strings referring to existing directories are
51 :pep:`302` Importer that wraps Python's "classic" import algorithm.
53 If *dirname* is a string, a :pep:`302` importer is created that searches that
54 directory. If *dirname* is ``None``, a :pep:`302` importer is created that
56 built-in.
72 ``__path__``. Returns ``None`` if the module cannot be found or imported.
74 limitations regarding platform-specific special import locations such as the
80 Retrieve a :pep:`302` importer for the given *path_item*.
82 The returned importer is cached in :data:`sys.path_importer_cache` if it was
85 If there is no importer, a wrapper around the basic import machinery is
86 returned. This wrapper is never inserted into the importer cache (``None``
97 If the module or package is accessible via the normal import mechanism, a
99 ``None`` if the module cannot be found or imported. If the named module is
104 limitations regarding platform-specific special import locations such as the
110 Yield :pep:`302` importers for the given module name.
115 the named module is in a package, that package is imported as a side effect
118 Non-:pep:`302` mechanisms (e.g. the Windows registry) used by the standard
124 For this to cause a visible difference in behaviour, there must be a module
126 non-:pep:`302` file system mechanisms. In this case, the emulation will find
137 path is ``None``, all top-level modules on ``sys.path``.
141 *prefix* is a string to output on the front of every module name on output.
151 *prefix* is a string to output on the front of every module name on output.
177 *package* argument should be the name of a package, in standard module format