diff options
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/appetite.rst | 2 | ||||
-rw-r--r-- | Doc/tutorial/interpreter.rst | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/tutorial/appetite.rst b/Doc/tutorial/appetite.rst index b5e1a1606c..26e5168ab5 100644 --- a/Doc/tutorial/appetite.rst +++ b/Doc/tutorial/appetite.rst @@ -23,7 +23,7 @@ You could write a Unix shell script or Windows batch files for some of these tasks, but shell scripts are best at moving around files and changing text data, not well-suited for GUI applications or games. You could write a C/C++/Java program, but it can take a lot of development time to get even a first-draft -program. Python is simpler to use, available on Windows, MacOS X, and Unix +program. Python is simpler to use, available on Windows, Mac OS X, and Unix operating systems, and will help you get the job done more quickly. Python is simple to use, but it is a real programming language, offering much diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 2601009f4e..216b4f540d 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -160,9 +160,9 @@ shell scripts, by putting the line :: (assuming that the interpreter is on the user's :envvar:`PATH`) at the beginning of the script and giving the file an executable mode. The ``#!`` must be the first two characters of the file. On some platforms, this first line must end -with a Unix-style line ending (``'\n'``), not a Mac OS (``'\r'``) or Windows -(``'\r\n'``) line ending. Note that the hash, or pound, character, ``'#'``, is -used to start a comment in Python. +with a Unix-style line ending (``'\n'``), not a Windows (``'\r\n'``) line +ending. Note that the hash, or pound, character, ``'#'``, is used to start a +comment in Python. The script can be given an executable mode, or permission, using the :program:`chmod` command:: |