summaryrefslogtreecommitdiffstats
path: root/PC/launcher-usage.txt
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2022-03-28 23:21:08 (GMT)
committerGitHub <noreply@github.com>2022-03-28 23:21:08 (GMT)
commitbad86a621af61f383b9f06fe4a08f66245df99e2 (patch)
tree0d52b1d9356c9cd73947db5a63d9829f9c5af2f4 /PC/launcher-usage.txt
parent5c30388f3c586ba2f33e349e22e5949cb92de621 (diff)
downloadcpython-bad86a621af61f383b9f06fe4a08f66245df99e2.zip
cpython-bad86a621af61f383b9f06fe4a08f66245df99e2.tar.gz
cpython-bad86a621af61f383b9f06fe4a08f66245df99e2.tar.bz2
bpo-46566: Add new py.exe launcher implementation (GH-32062)
Diffstat (limited to 'PC/launcher-usage.txt')
-rw-r--r--PC/launcher-usage.txt31
1 files changed, 31 insertions, 0 deletions
diff --git a/PC/launcher-usage.txt b/PC/launcher-usage.txt
new file mode 100644
index 0000000..aad1035
--- /dev/null
+++ b/PC/launcher-usage.txt
@@ -0,0 +1,31 @@
+Python Launcher for Windows Version %s
+
+usage:
+%s [launcher-args] [python-args] [script [script-args]]
+
+Launcher arguments:
+-2 : Launch the latest Python 2.x version
+-3 : Launch the latest Python 3.x version
+-X.Y : Launch the specified Python version
+
+The above default to an architecture native runtime, but will select any
+available. Add a "-32" to the argument to only launch 32-bit runtimes,
+or add "-64" to omit 32-bit runtimes (this latter option is deprecated).
+
+To select a specific runtime, use the -V: options.
+
+-V:TAG : Launch a Python runtime with the specified tag
+-V:COMPANY/TAG : Launch a Python runtime from the specified company and
+ with the specified tag
+
+-0 --list : List the available pythons
+-0p --list-paths : List with paths
+
+If no options are given but a script is specified, the script is checked for a
+shebang line. Otherwise, an active virtual environment or global default will
+be selected.
+
+See https://docs.python.org/using/windows.html#python-launcher-for-windows for
+additional configuration.
+
+The following help text is from Python: