Hamed Elahi added the comment:
No, the .txt files were the same, when I sent the results.
I send another .txt file to show the different, but the results were
created with the same .txt file for both runs.
Unfortunately, it is forbidden to send .py files.
On Sat, Mar 21, 2020 at 9:05 PM
Hamed Elahi added the comment:
I don't have any other windows to run on them, too. But, now, when I run .py
file from older folders before updating windows, then I've got this problem or
when I copy the folders and run .py file from these newly created folders.
See here:
I ran
Hamed Elahi added the comment:
Windows 10 Home
Python 3.7.3 [MSC v.1916 64 bit (AMD64)] on win32
I open the file so etc.:
settings_file = open('settings.txt','r')
settings = [line.strip() for line in settings_file.readlines()]
# Filter out comments and empties
settings
Hamed Elahi added the comment:
Hello,
I saw a problem when this line of code is used in Python 3:
settings = [line for line in settings if (line!='' and line[0] != '#')]
Before updating windows, this line of code filtered the texts from the
beginning of .txt file, so
Hamed Elahi added the comment:
Hello,
I saw a problem when this line of code is used in Python 3:
settings = [line for line in settings if (line!='' and line[0] != '#')]
Before updating windows, this line of code filtered the texts from the
beginning of .txt file, so
New submission from Hamed Elahi :
Hello,
I saw a problem when this line of code is used in Python 3:
settings = [line for line in settings if (line!='' and line[0] != '#')]
Before updating windows, this line of code filtered the texts from the
beginning of .txt file, so