At 17:16 2003-07-04 +0300, Silviu Cojocaru wrote: >I want to write a function that will return 1 if EndOfFile is reached >and 0 if not. Why? What are you *really* trying to achieve. This is nothing you normally need in Python. -- Magnus Lycka (It's really Lyckå), magnus@thinkware.se Thinkware AB, Sweden, www.thinkware.se I code Python ~ The Agile Programming Language