classification
Title: File extension for scripts on windows is unclear
Type: enhancement Stage:
Components: Documentation Versions: Python 3.9
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, maltekliemann
Priority: normal Keywords:

Created on 2021-06-15 12:46 by maltekliemann, last changed 2021-06-15 12:46 by maltekliemann.

Messages (1)
msg395875 - (view) Author: Malte Kliemann (maltekliemann) Date: 2021-06-15 12:46
It is common practice to use no extension for python scripts on UNIX. In 3.8.1.4., it is hinted that a script with a shebang line can be executed on windows only if the file extension of the script is associated with the python launcher.

I'm not sure where the right place is, but I suggest clearly stating that this is a critical requirement. As scripts on UNIX usually don't use file extensions, using these scripts without further modification is not possible cross-platform.
History
Date User Action Args
2021-06-15 12:46:03maltekliemanncreate