Is there a limit on the size of the file Python will read then output. I am reading a file of 433 lines and when I output the same file it only will output 421 lines. The last line is cut off also. This is the code I am using as a test.
input = open(r'C:\Documents and Settings\Owner\Desktop\somefile.html','r') L = input.readlines() input.close output = open(r'C:\Documents and Settings\Owner\Desktop\somefile_test.html','w') for t in range(len(L)): output.writelines(L[t]) output.close Also is there a way to test for EOF in Python? Thanks S -- http://mail.python.org/mailman/listinfo/python-list