mirror of
https://github.com/python/cpython.git
synced 2025-12-11 11:31:05 +00:00
one more place to use the current Python version
This commit is contained in:
parent
f4795c82df
commit
0999433f40
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
\envvar{PYTHONHOME} sets an alternate value for the prefix of the
|
||||||
Python installation. For example, if \envvar{PYTHONHOME} is set to
|
Python installation. For example, if \envvar{PYTHONHOME} is set to
|
||||||
\samp{/www/python}, the search path will be set to \code{['',
|
\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
|
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
|
will be added to the beginning of \code{sys.path}. For example, if
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue