write eof without closing

Marc 'BlackJack' Rintsch bj_666 at gmx.net
Sat Aug 19 09:56:56 EDT 2006


In <ec72ev$4e0$1 at netlx020.civ.utwente.nl>, cage wrote:

> can i write a eof to a file descriptor without closing it?
> like:
> 	fd.write(EOF)
> or something

What do you expect this to to?  Writing a byte to the file and you don't
know which value this byte has?

Ciao,
	Marc 'BlackJack' Rintsch



More information about the Python-list mailing list