I want the open a txt file.
There is a lot of .txt files in a folder on the desktop and they are always increasing.
I want to open the newest of these txt files.
with open(file=f"C:\\Users\\selman\Desktop\\simpleFolder\\NEWEST.txt", mode="r") as file:
txt file names:
mmnhodja_Sat Mar 12 22;00;24 2022.txt
mmnhodja_Sat Mar 12 22;02;12 2022.txt
mmnhodja_Sat Mar 12 22;04;22 2022.txt
mmnhodja_Sat Mar 12 22;06;33 2022.txt
mmnhodja_Sat Mar 12 22;08;57 2022.txt
going like that.