if c >= 0: print(b)
apriFILE = open('prova','r') for i in range(2000): x=apriFILE.readline() y=x.find('pippo') if y>1: print(x)
with open('prova', 'r') as apriFILE: for x in apriFILE: y=x.find('pippo') if y>1: print(x)