diff -r 15b0ea7134da Doc/tutorial/interpreter.rst --- a/Doc/tutorial/interpreter.rst Wed Nov 11 23:33:50 2015 -0600 +++ b/Doc/tutorial/interpreter.rst Fri Nov 27 10:59:41 2015 -0600 @@ -11,7 +11,8 @@ ======================== The Python interpreter is usually installed as :file:`/usr/local/bin/python3.5` -on those machines where it is available; putting :file:`/usr/local/bin` in your +when built and installed from a source release; ensuring that +:file:`/usr/local/bin` is in your Unix shell's search path makes it possible to start it by typing the command: .. code-block:: text @@ -20,17 +21,17 @@ to the shell. [#]_ Since the choice of the directory where the interpreter lives 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.) +Python guru or system administrator. (For example, most package managers +install Python as :file:`/usr/bin/python3.5`.) -On Windows machines, the Python installation is usually placed in -:file:`C:\\Python35`, 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 the command prompt in a DOS box:: +On Windows machines, the Python installation includes the :ref:`launcher` by +default, which is the recommended way to invoke the interpreter from the +command line:: - set path=%path%;C:\python35 + py -3.5 -Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` on +Typing an end-of-file character (:kbd:`Control-D` on Unix, :kbd:`Control-Z` +followed by :kbd:`Enter` on Windows) at the primary prompt causes the interpreter to exit with a zero exit status. If that doesn't work, you can exit the interpreter by typing the following command: ``quit()``. diff -r 15b0ea7134da Doc/tutorial/stdlib.rst --- a/Doc/tutorial/stdlib.rst Wed Nov 11 23:33:50 2015 -0600 +++ b/Doc/tutorial/stdlib.rst Fri Nov 27 10:59:41 2015 -0600 @@ -15,7 +15,7 @@ >>> import os >>> os.getcwd() # Return the current working directory - 'C:\\Python35' + 'C:\\Users\\Python' >>> os.chdir('/server/accesslogs') # Change current working directory >>> os.system('mkdir today') # Run the command mkdir in the system shell 0