Fred Gansevles <gansevle at cs.utwente.nl> writes: > for line in string.split (open (file).read(), '\n'): > .... It looks like a good idea. You usually have an empty line at end? -- François Pinard http://www.iro.umontreal.ca/~pinard