http://qiita.com/qt-luigi/items/76f7955d68418f967efb Je ferais ça.
for line in open("fichier texte.txt"): if "Caractère de recherche" in line: print line,
Recommended Posts