@@ -407,7 +407,7 @@ Instead, it will write to a private copy. If your scripts must modify the
407
407
shared locations, you will need to install the full installer.
408
408
409
409
At runtime, Python will use a private copy of well-known Windows folders and the registry.
410
- For example, if the environment variable :envvar: `%APPDATA% ` is :file: `c:\\ Users\\ <user>\\ AppData\\ `,
410
+ For example, if the environment variable :envvar: `! %APPDATA% ` is :file: `c:\\ Users\\ <user>\\ AppData\\ `,
411
411
then when writing to :file: `C:\\ Users\\ <user>\\ AppData\\ Local ` will write to
412
412
:file: `C:\\ Users\\ <user>\\ AppData\\ Local\\ Packages\\ PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\\ LocalCache\\ Local\\ `.
413
413
@@ -967,7 +967,7 @@ program, which performs a :envvar:`PATH` search.
967
967
If an executable matching the first argument after the ``env `` command cannot
968
968
be found, but the argument starts with ``python ``, it will be handled as
969
969
described for the other virtual commands.
970
- The environment variable :envvar: `PYLAUNCHER_NO_SEARCH_PATH ` may be set
970
+ The environment variable :envvar: `! PYLAUNCHER_NO_SEARCH_PATH ` may be set
971
971
(to any value) to skip this search of :envvar: `PATH `.
972
972
973
973
Shebang lines that do not match any of these patterns are looked up in the
@@ -1034,7 +1034,7 @@ For example, a shebang line of ``#!python`` has no version qualifier, while
1034
1034
``#!python3 `` has a version qualifier which specifies only a major version.
1035
1035
1036
1036
If no version qualifiers are found in a command, the environment
1037
- variable :envvar: `PY_PYTHON ` can be set to specify the default version
1037
+ variable :envvar: `! PY_PYTHON ` can be set to specify the default version
1038
1038
qualifier. If it is not set, the default is "3". The variable can
1039
1039
specify any value that may be passed on the command line, such as "3",
1040
1040
"3.7", "3.7-32" or "3.7-64". (Note that the "-64" option is only
@@ -1107,7 +1107,7 @@ For example:
1107
1107
Diagnostics
1108
1108
-----------
1109
1109
1110
- If an environment variable :envvar: `PYLAUNCHER_DEBUG ` is set (to any value), the
1110
+ If an environment variable :envvar: `! PYLAUNCHER_DEBUG ` is set (to any value), the
1111
1111
launcher will print diagnostic information to stderr (i.e. to the console).
1112
1112
While this information manages to be simultaneously verbose *and * terse, it
1113
1113
should allow you to see what versions of Python were located, why a
@@ -1117,7 +1117,7 @@ target Python. It is primarily intended for testing and debugging.
1117
1117
Dry Run
1118
1118
-------
1119
1119
1120
- If an environment variable :envvar: `PYLAUNCHER_DRYRUN ` is set (to any value),
1120
+ If an environment variable :envvar: `! PYLAUNCHER_DRYRUN ` is set (to any value),
1121
1121
the launcher will output the command it would have run, but will not actually
1122
1122
launch Python. This may be useful for tools that want to use the launcher to
1123
1123
detect and then launch Python directly. Note that the command written to
@@ -1127,14 +1127,14 @@ the console.
1127
1127
Install on demand
1128
1128
-----------------
1129
1129
1130
- If an environment variable :envvar: `PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1130
+ If an environment variable :envvar: `! PYLAUNCHER_ALLOW_INSTALL ` is set (to any
1131
1131
value), and the requested Python version is not installed but is available on
1132
1132
the Microsoft Store, the launcher will attempt to install it. This may require
1133
1133
user interaction to complete, and you may need to run the command again.
1134
1134
1135
- An additional :envvar: `PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1135
+ An additional :envvar: `! PYLAUNCHER_ALWAYS_INSTALL ` variable causes the launcher
1136
1136
to always try to install Python, even if it is detected. This is mainly intended
1137
- for testing (and should be used with :envvar: `PYLAUNCHER_DRYRUN `).
1137
+ for testing (and should be used with :envvar: `! PYLAUNCHER_DRYRUN `).
1138
1138
1139
1139
Return codes
1140
1140
------------
0 commit comments