Determining EOF character

John W. Baxter jwbnews at scandaroon.com
Tue Feb 20 00:11:41 EST 2001


In article <mailman.982636942.2852.python-list at python.org>, "Chris 
Gonnerman" <chris.gonnerman at usa.net> wrote:

> 
> So why does closing the pipe to signal EOF not work?  I've written a great
> many programs
> based on that.  The writer closes the pipe and terminates, and the reader
> gets EOF and
> continues operation.  What am I missing here?

He wants to signal the end of each chunk of data, leaving the pipe open 
for the next chunk.  I think he needs to define and use an end-of-chunk 
sentinal.

  --John

-- 
John W. Baxter   Port Ludlow, WA USA  jwbnews at scandaroon.com



More information about the Python-list mailing list