Mark d. wrote: > How about: > > mov = open(afile) > line = mov.readline() > ...(process your ':' line) > for line in mov.readlines(): > ... The problem here is that you read the entire file in in the call to readlines. --Scott David Daniels Scott.Daniels at Acm.Org