seeker wrote: > Last suggestion I made was bad. Here is the new one. Hopefully thats > correct. > > f = open("test.dat") > for line in f: > printLine = line.rstrip("\n") > if not printLine: > continue > print printLine
A little better: f = open("test.dat") for line in f: printLine = line.rstrip("\n") if printLine: print printLine --Scott David Daniels [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list