[Python-checkins] r60145 - python/trunk/Doc/tutorial/interpreter.rst
georg.brandl
python-checkins at python.org
Sun Jan 20 20:40:58 CET 2008
Author: georg.brandl
Date: Sun Jan 20 20:40:58 2008
New Revision: 60145
Modified:
python/trunk/Doc/tutorial/interpreter.rst
Log:
Add blurb about executable scripts on Windows. #760657.
Modified: python/trunk/Doc/tutorial/interpreter.rst
==============================================================================
--- python/trunk/Doc/tutorial/interpreter.rst (original)
+++ python/trunk/Doc/tutorial/interpreter.rst Sun Jan 20 20:40:58 2008
@@ -166,6 +166,12 @@
$ 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
--------------------
More information about the Python-checkins
mailing list