Why do I get different values for the
f.readline() statement in this bit of code? I entered it in the interactive mode of IDLE
>>> f=open('F:\\Documents and Settings\\folder1\\flder2\\t.txt','r')
>>> f.readlines()
['1\n', '2\n', '3\n', '4\n', '5\n', '6\n', '7\n', '8\n', '9\n', '10']
>>> f.readlines()
[]