Hello,
I want know how to find some of words in a file.
For example :
find one word
if "word" in open(file).read():
print file
I wand do that but with 5 words [ word1 , word2 , word3 , word4 , word5 ]
If find word1 or word2 or word3 ....... do something
mean search in file about all words i want and if find any word in the file print it or do something
I use List or tuple and how?
Thanks