[Python-ideas] Suggestion: Clear screen command for the REPL

Paul Moore p.f.moore at gmail.com
Thu Sep 29 03:51:18 EDT 2016


On 29 September 2016 at 08:08, Stephan Houben <stephanh42 at gmail.com> wrote:
> I just tried with this official Python binary:
> Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit
> (Intel)] on win32
>
> and CTRL-L for sure does clear the window. It just doesn't then move the
> prompt to the top, so you end up with a bunch of empty lines, followed by
> the prompt.

Do you have pyreadline installed? I believe that intercepts things like CTRL-L.

Paul


More information about the Python-ideas mailing list