diff options
author | Georg Brandl <georg@python.org> | 2008-01-20 19:40:58 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-01-20 19:40:58 (GMT) |
commit | 23bf837a37836a45af599f8943c507e6a2a4865f (patch) | |
tree | f6f9d1c11013d595f3056cfb554390be7da58188 /Doc | |
parent | ef92802f7336370e591d6e142735eb1a630030a6 (diff) | |
download | cpython-23bf837a37836a45af599f8943c507e6a2a4865f.zip cpython-23bf837a37836a45af599f8943c507e6a2a4865f.tar.gz cpython-23bf837a37836a45af599f8943c507e6a2a4865f.tar.bz2 |
Add blurb about executable scripts on Windows. #760657.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/tutorial/interpreter.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/tutorial/interpreter.rst b/Doc/tutorial/interpreter.rst index 1ba14d9..5a3431d 100644 --- a/Doc/tutorial/interpreter.rst +++ b/Doc/tutorial/interpreter.rst @@ -166,6 +166,12 @@ The script can be given an executable mode, or permission, using the $ chmod +x myscript.py +On Windows systems, there is no notion of an "executable mode". The Python +installer automatically associates ``.py`` files with ``python.exe`` so that +a double-click on a Python file will run it as a script. The extension can +also be ``.pyw``, in that case, the console window that normally appears is +suppressed. + Source Code Encoding -------------------- |