Lines Matching full:path

16 .. index:: triple: module; search; path
18 Importing this module will append site-specific paths to the module search path
20 can be safely imported with no automatic modifications to the module search path
37 directory, and if so, adds it to ``sys.path`` and also inspects the newly
38 added path for configuration files.
56 A path configuration file is a file whose name has the form :file:`{name}.pth`
58 additional items (one per line) to be added to ``sys.path``. Non-existing items
59 are never added to ``sys.path``, and no check is made that the item refers to a
60 directory rather than a file. No item is added to ``sys.path`` more than
71 (load 3rd-party import hooks, adjust :envvar:`PATH` etc).
79 triple: path; configuration; file
85 subsubdirectories, :file:`foo`, :file:`bar` and :file:`spam`, and two path
102 ``sys.path``, in this order::
110 not mentioned in either path configuration file.
114 After these path manipulations, an attempt is made to import a module named
129 user site-packages directory (see below), which is part of ``sys.path`` unless
135 empty, and the path manipulations are skipped; however the import of
168 that it is enabled and was added to ``sys.path``. ``False`` means that it
177 Path to the user site-packages for the running Python. Can be ``None`` if
188 Path to the base directory for the user site-packages. Can be ``None`` if
201 path. This function is called automatically when this module is imported,
210 Add a directory to sys.path and process its :file:`.pth` files. Typically
223 Return the path of the user base directory, :data:`USER_BASE`. If it is not
232 Return the path of the user-specific site-packages directory,
235 site-packages was added to ``sys.path`` :data:`ENABLE_USER_SITE` should be
257 :data:`sys.path` on the standard output, followed by the value of
263 Print the path to the user base directory.
267 Print the path to the user site-packages directory.
280 * :ref:`sys-path-init` -- The initialization of :data:`sys.path`.