Python under PowerShell adds characters
steve+python at pearwood.info
Wed Mar 29 20:14:58 EDT 2017
On Thu, 30 Mar 2017 06:47 am, Marko Rauhamaa wrote:
> Chris Angelico <rosuav at gmail.com>:
>> But normally, the standard streams are connected ultimately to a
>> human, so they're text.
> Huh? The standard input is the workload
Which is usually typed by a human, read from a file containing
human-readable text, a file-name intended to be read by a human, or some
other data in human-readable form.
> and the standard output is the result of the computation.
Which is generally intended to be read by a human.
> Arguably, the standard error stream is meant for humans.
Just like the rest of the computation. Relatively few command-line
computations are performed by machines, for machines, using
machine-friendly human-hostile formats.
“Cheer up,” they said, “things could be worse.” So I cheered up, and sure
enough, things got worse.
More information about the Python-list