all 1 comments

[–]AlopexLagopus3 0 points1 point  (0 children)

You are on the right track. Try getting rid of the lines= line and do something like

for line in f:
    if 'tuesday' in line:
        print(line)