Skip to content

Commit af7282e

Browse files
authored
Improve Windows commands in tutorial (GH-14400)
1 parent 63429c8 commit af7282e

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Doc/tutorial/interpreter.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ is an installation option, other places are possible; check with your local
2323
Python guru or system administrator. (E.g., :file:`/usr/local/python` is a
2424
popular alternative location.)
2525

26-
On Windows machines, the Python installation is usually placed in
27-
:file:`C:\\Python38`, though you can change this when you're running the
28-
installer. To add this directory to your path, you can type the following
29-
command into :ref:`a command prompt window <faq-run-program-under-windows>`::
30-
31-
set path=%path%;C:\python38
26+
On Windows machines where you have installed from the :ref:`Microsoft Store
27+
<windows-store>`, the :file:`python3.8` command will be available. If you have
28+
the :ref:`py.exe launcher <launcher>` installed, you can use the :file:`py`
29+
command. See :ref:`setting-envvars` for other ways to launch Python.
3230

3331
Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` on
3432
Windows) at the primary prompt causes the interpreter to exit with a zero exit

0 commit comments

Comments
 (0)