Win 10 > Win 11 path error?

"Em" <[email protected]> Thu, 26 Feb 2026 12:53:30 -0500
Newsgroups gmane.comp.python.general
Message-ID <[email protected]>
  OutExcelFile = open("_EXCEL-FILE3az.txt","w")

The line works in Win 10.
In Win 11, if I press F5 it works but if I double click on the program filename, it fails immediately.
No error reported.

I believe the problem with the path needing to be different between Win10 and Win11.
Can you tell me what the path should be if that is the problem?

Python:  3.14.1