summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-06-26 15:55:57 (GMT)
committerGitHub <noreply@github.com>2019-06-26 15:55:57 (GMT)
commit7a177c08ab8981645828d3b4d9083cdd9018d197 (patch)
tree9f2aaa2057684577c18106c9358b2ef33dc44b2b /Doc/tutorial
parent689830ee6243126798a6c519c05aa11ba73db7cd (diff)
downloadcpython-7a177c08ab8981645828d3b4d9083cdd9018d197.zip
cpython-7a177c08ab8981645828d3b4d9083cdd9018d197.tar.gz
cpython-7a177c08ab8981645828d3b4d9083cdd9018d197.tar.bz2
Improve Windows commands in tutorial (GH-14379)
Diffstat (limited to 'Doc/tutorial')
-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 87d2fef..aeb6aa0 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:\\Python38`, 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:\python38
+On Windows machines where you have installed from the :ref:`Microsoft Store
+<windows-store>`, the :file:`python3.9` 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