mirror of
https://github.com/python/cpython.git
synced 2025-07-23 11:15:24 +00:00
bpo-37403: Touch up venv docs (GH-14458)
Add a versionadded for PS Core and note that `.venv` is a common virtual environment name.
This commit is contained in:
parent
242c26f53e
commit
f9f8e3ce70
2 changed files with 20 additions and 7 deletions
|
@ -50,6 +50,12 @@ This will create the ``tutorial-env`` directory if it doesn't exist,
|
|||
and also create directories inside it containing a copy of the Python
|
||||
interpreter, the standard library, and various supporting files.
|
||||
|
||||
A common directory location for a virtual environment is ``.venv``.
|
||||
This name keeps the directory typically hidden in your shell and thus
|
||||
out of the way while giving it a name that explains why the directory
|
||||
exists. It also prevents clashing with ``.env`` environment variable
|
||||
definition files that some tooling supports.
|
||||
|
||||
Once you've created a virtual environment, you may activate it.
|
||||
|
||||
On Windows, run::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue