summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-06-26 10:00:58 -0700
committerNed Deily <nad@python.org>2019-07-01 22:22:26 -0400
commit3d9963744a0b315717fb94e1813d27f2548d08d4 (patch)
treedf055b11267f5bb936fa5d98fc2e42191814c575
parent30c2ae4dcfd19acbdfb7045151c73d5700eec7b4 (diff)
downloadcpython-git-3d9963744a0b315717fb94e1813d27f2548d08d4.tar.gz
Improve Windows commands in tutorial (GH-14401)
-rw-r--r--Doc/tutorial/interpreter.rst10
1 files changed, 4 insertions, 6 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index b8ce525db9..647dd72b37 100644
--- a/Doc/tutorial/interpreter.rst
+++ b/Doc/tutorial/interpreter.rst
@@ -23,12 +23,10 @@ is an installation option, other places are possible; check with your local
Python guru or system administrator. (E.g., :file:`/usr/local/python` is a
popular alternative location.)
-On Windows machines, the Python installation is usually placed in
-:file:`C:\\Python37`, though you can change this when you're running the
-installer. To add this directory to your path, you can type the following
-command into :ref:`a command prompt window <faq-run-program-under-windows>`::
-
- set path=%path%;C:\python37
+On Windows machines where you have installed from the :ref:`Microsoft Store
+<windows-store>`, the :file:`python3.7` command will be available. If you have
+the :ref:`py.exe launcher <launcher>` installed, you can use the :file:`py`
+command. See :ref:`setting-envvars` for other ways to launch Python.
Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` on
Windows) at the primary prompt causes the interpreter to exit with a zero exit