search a word in file in python code example
Example: how to find word in file python
with open('example.txt') as f:
if 'blabla' in f.read():
print("true")
with open('example.txt') as f:
if 'blabla' in f.read():
print("true")