Interactive scripts (back on topic for once) [was Re: The "loop and a half"]

Paul Moore p.f.moore at gmail.com
Fri Oct 6 08:11:59 EDT 2017


On 6 October 2017 at 12:42, Chris Angelico <rosuav at gmail.com> wrote:
> Generally, you should not have to worry about the behaviour of a
> program being drastically different if you append "| cat" to the
> command line. Which means you don't want TOO much difference between
> interactive mode and non-interactive mode, which in turn limits the
> extent of these changes to the defaults. It wants to be small changes
> only. Everything else should be controlled with options, not magic.

Yep. My real beef with ls is multi-column vs single-column.
Paul



More information about the Python-list mailing list