Comment trouver Word dans Fichier 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