Dave> for line in lines if line.strip.startswith('y'): Dave> doStuff(line) >What's wrong with > > for line in lines: > if line.strip().startswith('y'): > doStuff(line) Nothing at all. But then again, there's nothing wrong with 'x = x + 1' instead of 'x += 1', either. :) -Dave