Re: A switch somewhere, or bug? CORRECTION

2025-12-05 Thread Roel Schroeven
Op 5/12/2025 om 21:03 schreef Em: Copy that file onto a folder in a WIN10 computer which uses Python 3.13 and copy it again onto a folder in a WIN11 computer that runs Python 3.14.1 Double-click the filename in the folder on the WIN10 computer. It executes the program and the text file is create

RE: A switch somewhere, or bug? CORRECTION

2025-12-05 Thread Em
Alright, Alright, Alright... Alright. These responses push much more sophisticated explanations than the question asked. This involves only one line of code that creates an empty text file. No other code is involved or needed. Before responding, please run this test: Create a .py file that cont

Re: A switch somewhere, or bug? CORRECTION

2025-12-05 Thread Michael Torrie via Python-list
On 12/4/25 10:47 PM, Em wrote: >> Starter = open("HLYlog.txt", "w") >> >> Thoughts appreciated. > > -That's a relative path. Are you sure that the current working directory is > what > -you expect? It's generally better to work with absolute paths. > > Relative or not, I can't see how that could

Re: A switch somewhere, or bug? CORRECTION

2025-12-05 Thread MRAB
On 05/12/2025 05:47, Em wrote: -Original Message- From: MRAB Sent: Thursday, December 4, 2025 10:52 PM To: [email protected] Subject: Re: A switch somewhere, or bug? CORRECTION On 04/12/2025 18:25, Em wrote: Two computers, both alike in dignity, in fair windows land, where we set