[Python-checkins] Improve Windows commands in tutorial (GH-14400)

Steve Dower webhook-mailer at python.org
Wed Jun 26 12:41:48 EDT 2019


https://github.com/python/cpython/commit/af7282e1299821132ceb948df70e5a6dfc0c3619
commit: af7282e1299821132ceb948df70e5a6dfc0c3619
branch: 3.8
author: Steve Dower <steve.dower at python.org>
committer: GitHub <noreply at github.com>
date: 2019-06-26T09:41:45-07:00
summary:

Improve Windows commands in tutorial (GH-14400)

files:
M Doc/tutorial/interpreter.rst

diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst
index dddfd850cd29..60f13fcb4894 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.8` 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



More information about the Python-checkins mailing list