Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more

Barry barry at barrys-emacs.org
Fri Dec 22 19:19:43 EST 2023



> On 23 Dec 2023, at 00:15, Thomas Passin via Python-list <python-list at python.org> wrote:
> 
> In neither case is the shebang line used.

As i understand it, not in front of my windows box to check.
The handler for .py file extension is set to be the py.exe
It is py.exe that understands shebang lines.

Barry




More information about the Python-list mailing list