write eof without closing

Grant Edwards grante at visi.com
Sat Aug 19 11:13:46 EDT 2006


On 2006-08-19, cage <cagedmonsterhaalditweg at gmail.com> wrote:

> can i write a eof to a file descriptor without closing it?

No.  Not on Windows, OS-X, or Unix.  There is no such thing as
"an eof".

On CP/M Ctrl-Z is used as EOF for text files.

-- 
Grant Edwards
grante at visi.com




More information about the Python-list mailing list