Message364768
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 = [line for line in settings if (line!='' and line[0] != '#')]
I attach the .txt file.
I think the problem can be because of that line, because, before windows update, I used this .txt file and the first 4 parts of its content has been used to begin the program, but now, it sees that as None. The problem is with my new folders, when I create a new folder. It works different there, but in the old folders, it works as before. |
|
Date |
User |
Action |
Args |
2020-03-21 18:19:50 | Hamed | set | recipients:
+ Hamed, paul.moore, eric.smith, tim.golden, zach.ware, steve.dower |
2020-03-21 18:19:50 | Hamed | set | messageid: <1584814790.88.0.652265486113.issue40035@roundup.psfhosted.org> |
2020-03-21 18:19:50 | Hamed | link | issue40035 messages |
2020-03-21 18:19:50 | Hamed | create | |
|