Re: Python 3.12.1, Windows 11: shebang line #!/usr/bin/env python3 doesn't work any more
Mats Wichmann <[email protected]>
| Newsgroups | comp.lang.python |
|---|---|
| Message-ID | <[email protected]> |
On 1/1/24 12:53, Thomas Passin via Python-list wrote: > On Windows 10, a shebang line gets ignored in favor of Python 3.9.9 (if > invoked by the script name alone) or Python 3.12.1 (if invoked by the > "py" launcher). fwiw, you can also create an ini file to define to the launcher py which version should be the default, if no version is specified.