The "loop and a half"

Chris Angelico rosuav at gmail.com
Thu Oct 5 07:09:02 EDT 2017


On Thu, Oct 5, 2017 at 9:56 PM, bartc <bc at freeuk.com> wrote:
> This doesn't make sense. For interactive use, you wouldn't bother testing
> for eof, as you'd be testing the eof status of the keyboard.

You mean the way heaps and heaps of Unix programs work, processing
until EOF of stdin? Yeah, totally makes no sense, man, no sense at
all.

ChrisA



More information about the Python-list mailing list