[Python-ideas] Option of running shell/console commands inside the REPL

Oleg Broytman phd at phdru.name
Fri Feb 1 15:31:21 EST 2019


On Fri, Feb 01, 2019 at 03:12:42PM -0500, Terry Reedy <tjreedy at udel.edu> wrote:
> On 2/1/2019 1:50 PM, James Lu wrote:
> > It???s difficult to learn anything with a body (such as a loop or a class or a function) with the built in REPL because you can???t edit lines you???ve already written.
> 
> However, I don't see what this has to do with running system console
> commands in a Python shell.

   Python REPL is missing the following batteries:

* Persistent history;
* Syntax highlighting;
* Clear separation (using, for example, different colors)
  between input, output and errors;
* Paging of very long output/errors.

> -- 
> Terry Jan Reedy

Oleg.
-- 
    Oleg Broytman            https://phdru.name/            phd at phdru.name
           Programmers don't die, they just GOSUB without RETURN.


More information about the Python-ideas mailing list