The "loop and a half"

Marko Rauhamaa marko at pacujo.net
Fri Oct 6 14:47:40 EDT 2017


Chris Angelico <rosuav at gmail.com>:

> On Sat, Oct 7, 2017 at 4:55 AM, Marko Rauhamaa <marko at pacujo.net> wrote:
>> Personally, I think stdin is a bit lame as a stimulus source for an
>> interactive program. That's not even what stdin is primarily meant
>> for; stdin is meant to be the input data for a job. Similarly, stdout
>> is meant to be the result of the computation. Stderr, then, is used
>> to deliver optional diagnostic messages, ie, metainfo about the
>> computation.
>
> [...]
>
> Standard streams exist for a reason.

That's exactly what I said.


Marko



More information about the Python-list mailing list