mirror of https://github.com/python/cpython
one more place to use the current Python version
This commit is contained in:
parent
f4795c82df
commit
0999433f40
|
@ -726,8 +726,8 @@ There are two environment variables that can modify \code{sys.path}.
|
|||
\envvar{PYTHONHOME} sets an alternate value for the prefix of the
|
||||
Python installation. For example, if \envvar{PYTHONHOME} is set to
|
||||
\samp{/www/python}, the search path will be set to \code{['',
|
||||
'/www/python/lib/python2.2/', '/www/python/lib/python2.3/plat-linux2',
|
||||
...]}.
|
||||
'/www/python/lib/python\shortversion/',
|
||||
'/www/python/lib/python\shortversion/plat-linux2', ...]}.
|
||||
|
||||
The \envvar{PYTHONPATH} variable can be set to a list of paths that
|
||||
will be added to the beginning of \code{sys.path}. For example, if
|
||||
|
|
Loading…
Reference in New Issue