mirror of
https://github.com/python/cpython.git
synced 2025-08-18 07:41:05 +00:00
Add blurb about executable scripts on Windows. #760657.
This commit is contained in:
parent
ef92802f73
commit
23bf837a37
1 changed files with 6 additions and 0 deletions
|
@ -166,6 +166,12 @@ The script can be given an executable mode, or permission, using the
|
||||||
|
|
||||||
$ chmod +x myscript.py
|
$ 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
|
Source Code Encoding
|
||||||
--------------------
|
--------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue