I am new to Python (2.6), and have a situation where I need to un-read a line I just read from a file. Here's basically what I am doing.
for line in file:print linefile.seek(-len(line),1)zz = file.readline()print zz
However I notice that "zz" and "line" are not the same. Where am I going wrong?
Thanks.