Cómo encontrar Word en el archivo Python
with open('example.txt') as f:
if 'blabla' in f.read():
print("true")
Agreeable Ant
with open('example.txt') as f:
if 'blabla' in f.read():
print("true")
f = open(filename, "r")
whattoReturn = "None"
if strToFind in f.read():
whattoReturn = strToFind