Avoid unnecessary detail (global vs user site-packages)
This commit is contained in:
parent
6e8d4b2bb2
commit
4343609d5c
|
@ -200,9 +200,8 @@ named :file:`spam.py` in a list of directories given by the variable
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
The :mod:`site` module is responsible for appending site-specific paths to
|
The :mod:`site` module is responsible for appending site-specific paths to
|
||||||
the module search path. It also provides a way to get a list of all
|
the module search path. It also provides a command line interface to print
|
||||||
site-specific paths, which can be global and per user site-packages
|
a list of all module search paths (e.g. ``python -m site``).
|
||||||
directories (:pep:`370`), from the command line via ``python -m site``.
|
|
||||||
|
|
||||||
After initialization, Python programs can modify :data:`sys.path`. The
|
After initialization, Python programs can modify :data:`sys.path`. The
|
||||||
directory containing the script being run is placed at the beginning of the
|
directory containing the script being run is placed at the beginning of the
|
||||||
|
|
Loading…
Reference in New Issue