On Fri, Apr 28, 2000 at 02:19:08AM +0200, Remco Gerlich wrote: > for i in range(6): > spam = f.readline() # Skip 5 lines range(5) of course, duh. > f.write('%s~%s' % (line1, line2)) Also I'm quite sure now that this formatting isn't what you meant, but you'll have to explain better, and anyway, 3:26 am is really time to go to bed ;-). -- Remco Gerlich, scarblac@pino.selwerd.nl