> On 7 Jan 2024, at 15:09, Sibylle Koczian via Python-list > <python-list@python.org> wrote: > > Oh, and the two Windows and Python versions are on two different computers. > > Will remove the "/env" from my shebang lines, even if I don't understand > what's happening. Thanks for the details. Only thing I can think of is that "python" may be defaulting to mean python 2. If you use "#!/usr/bin/env python3" it may work on both. Did you creates a py.ini file to configure py.exe? See if you have %userappdata%\py.ini on either windows 10 or windows 11. If so what is its contents? I've tried with and without a py.ini and cannot duplicate what you see. Barry -- https://mail.python.org/mailman/listinfo/python-list
- Re: Python 3.12.1, Windows 11: shebang lin... Mike Dewhirst via Python-list
- Re: Python 3.12.1, Windows 11: sheban... Chris Angelico via Python-list
- Re: Python 3.12.1, Windows 11: sh... Mike Dewhirst via Python-list
- Re: Python 3.12.1, Windows 11: sheban... Félix An via Python-list
- Re: Python 3.12.1, Windows 11: sh... Chris Angelico via Python-list
- Re: Python 3.12.1, Windows 11: sh... Mike Dewhirst via Python-list
- Re: Python 3.12.1, Windows 11: sh... Chris Angelico via Python-list
- Re: Python 3.12.1, Windows 11: sh... Sibylle Koczian via Python-list
- Re: Python 3.12.1, Windows 11: sh... Barry via Python-list
- Re: Python 3.12.1, Windows 11: sh... Sibylle Koczian via Python-list
- Re: Python 3.12.1, Windows 11: sh... Barry Scott via Python-list
- Re: Python 3.12.1, Windows 11: sh... Sibylle Koczian via Python-list
- Re: Python 3.12.1, Windows 11: sh... Thomas Passin via Python-list
- Re: Python 3.12.1, Windows 11: sh... Thomas Passin via Python-list
- Re: Python 3.12.1, Windows 11: sh... Mike Dewhirst via Python-list
- Re: Python 3.12.1, Windows 11: sh... Sibylle Koczian via Python-list
- Re: Python 3.12.1, Windows 11: sh... Mats Wichmann via Python-list
- Re: Python 3.12.1, Windows 11: sh... Thomas Passin via Python-list
- Re: Python 3.12.1, Windows 11: sh... Mats Wichmann via Python-list
- Re: Python 3.12.1, Windows 11: sh... Greg Ewing via Python-list
- Re: Python 3.12.1, Windows 11: sh... Thomas Passin via Python-list