On 12/4/2025 1:25 PM, Em wrote:

Two computers, both alike in dignity, in fair windows land, where we set our
scene......

in Win10/Python 3.13 my program runs as well as can be expected. However, on
my new computer Win11/Python 3.14.1 there is a peculiarity.

On the new machine, when I click on the file name, it immediately dumps out.
I go in with IDLE and it runs fine with no indication of any error.

I believe this line is the culprit:
Starter = open("HLYlog.txt", "w")

Thoughts appreciated.

When you write "when I click on the file name", do you mean you find the Python file in Windows Explorer and then doubleclick on it? Can you start it in a console by typing (without the angle brackets, of course)

py <full path to file>

I suspect that what is happening is that a new console window opens, the program runs, and then the new console terminates and vanishes immediately. That's what happens on My Windows 11 system.

With the pre-Windows 11 file association system it was fairly easy to deal with this since it was easy to find a modify the launch command that Windows would use. On Windows 11 the way programs are associated to files has changed and it seems to be much harder to change things. You wouldn't realize the change when (double)clicking on a program's name in Explorer for GUI programs that don't finish. It's only when you try to run a command-line program that terminates that the difference shows up.

In Windows 11, you can change file associations in Settings/default apps. You could write a batch file that launches the file on the command line with Python, then stays around after the program ends. Then make that batch file the default app for .py files.


-----Original Message-----
From: Thomas Wouters <[email protected]>
Sent: Tuesday, December 2, 2025 3:47 PM
To: [email protected]; [email protected]
Subject: [RELEASE] Python 3.13.10 is now available!


Python 3.13.10 is now available:

https://www.python.org/downloads/release/python-31310/

Python 3.13.10 is the tenth maintenance release of 3.13, containing around
300 bugfixes, build improvements and documentation changes since 3.13.9.

Enjoy the new release!
--
https://mail.python.org/mailman3//lists/python-list.python.org

--
https://mail.python.org/mailman3//lists/python-list.python.org


--
https://mail.python.org/mailman3//lists/python-list.python.org

Reply via email to