@with_open_mode('rt')
@with_sizes('medium')
def read_lines(f):
 f.seek(0)
 for line in f:
  pass

@ with_open_mode ( 'rt' ) @ with_sizes ( 'medium' ) def read_lines ( f ) : f . seek ( 0 ) for line in f : pass
read one line at a time .