Dateisuche in Python
with open('largeFile', 'r') as inF:
for line in inF:
if 'myString' in line:
# do_something
Horrible Horse
with open('largeFile', 'r') as inF:
for line in inF:
if 'myString' in line:
# do_something