Contact: aviboots(AT)netvision.net.il
41,229 questions
53,731 answers
573 users
word = 'aaa' with open('d:\data.txt', mode='r') as file: for line in file: if word in line: print(line) ''' run: aaa bbb eee eee aaa ggg kkk aaa lll '''