Hi New comer here !!

2026-02-27 Thread Fahamidur Rahaman via Python-list
Hi there, I am new to open source contributions. I have 4+ years of experience working in AI/ML space. However I want to help build the next python by contributing as well as increase my understanding of this language. Wish me luck!! -- https://mail.python.org/mailman3//lists/python-list.python.o

Re: Win 10 > Win 11 path error?

2026-02-27 Thread Dan Sommers
On 2026-02-26 at 19:35:13 +, Regarding "Re: Win 10 > Win 11 path error?," MRAB wrote: > On 26/02/2026 17:53, Em wrote: > >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 > > filena

Re: Another issue between Win10 and Win 11 using python

2026-02-27 Thread Thomas Passin
On 2/27/2026 9:49 AM, Em wrote: The statement is: ThisPath = os.getcwd() For 10 years in Win 10 the line gave me the present path both when I used F5 in an editor, and when I ran the program by a double-click on the name of the program in the folder. I now want to run the program in Win 11.

Another issue between Win10 and Win 11 using python

2026-02-27 Thread Em
The statement is: ThisPath = os.getcwd() For 10 years in Win 10 the line gave me the present path both when I used F5 in an editor, and when I ran the program by a double-click on the name of the program in the folder. I now want to run the program in Win 11. As in Win 10, F5 from an editor,

Re: Another issue between Win10 and Win 11 using python

2026-02-27 Thread Mats Wichmann
On 2/27/26 07:49, Em wrote: The statement is: ThisPath = os.getcwd() For 10 years in Win 10 the line gave me the present path both when I used F5 in an editor, and when I ran the program by a double-click on the name of the program in the folder. I now want to run the program in Win 11. As i

Re: Another issue between Win10 and Win 11 using python

2026-02-27 Thread Michael Torrie via Python-list
On 2/27/26 7:49 AM, Em wrote: > > The statement is: ThisPath = os.getcwd() > > For 10 years in Win 10 the line gave me the present path both when I used F5 > in an editor, and when I ran the program by a double-click on the name of the > program in the folder. > > I now want to run the program

RE: Win 10 > Win 11 path error?

2026-02-27 Thread Em
-Original Message- From: Dan Sommers <[email protected]> Sent: Friday, February 27, 2026 11:54 AM To: MRAB ; Em Cc: [email protected] Subject: Re: Win 10 > Win 11 path error? On 2026-02-26 at 19:35:13 +, Regarding "Re: Win 10 > Win 11 path error?," MRAB wrot

RE: Another issue between Win10 and Win 11 using python

2026-02-27 Thread Em
-Original Message- From: Thomas Passin Sent: Friday, February 27, 2026 11:47 AM To: [email protected] Subject: Re: Another issue between Win10 and Win 11 using python On 2/27/2026 9:49 AM, Em wrote: > > The statement is: ThisPath = os.getcwd() > > For 10 years in Win 10 the line

Re: Hi New comer here !!

2026-02-27 Thread Mats Wichmann
On 2/25/26 10:00, Fahamidur Rahaman via Python-list wrote: Hi there, I am new to open source contributions. I have 4+ years of experience working in AI/ML space. However I want to help build the next python by contributing as well as increase my understanding of this language. Wish me luck!! S

Re: Another issue between Win10 and Win 11 using python

2026-02-27 Thread Michael Torrie via Python-list
On 2/27/26 3:34 PM, Em wrote: > So, the answer is to hardwire the code, stopping it from > being portable, yes? That is one answer, yes. But as I said there are other options. -- https://mail.python.org/mailman3//lists/python-list.python.org

Re: Win 10 > Win 11 path error?

2026-02-27 Thread Michael Torrie via Python-list
On 2/27/26 3:34 PM, Em wrote: > this_directory = os.path.dirname(__file__) data_path = > os.path.join(this_directory, "_EXCEL-FILE3az.txt") > OutExcelFile = open(data_path,"w") > > I don't understand that line of code this_directory contains the path to the directory where the script is being