We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea5a636 commit 3584d4bCopy full SHA for 3584d4b
Doc/using/venv-create.inc
@@ -126,6 +126,10 @@ directory containing the virtual environment):
126
| | PowerShell | PS C:\\> <venv>\\Scripts\\Activate.ps1 |
127
+-------------+-----------------+-----------------------------------------+
128
129
+When a virtual environment is active, the :envvar:`VIRTUAL_ENV` environment
130
+variable is set to the path of the virtual environment. This can be used to
131
+check if one is running inside a virtual environment.
132
+
133
You don't specifically *need* to activate an environment; activation just
134
prepends the virtual environment's binary directory to your path, so that
135
"python" invokes the virtual environment's Python interpreter and you can run
0 commit comments