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

João Matos jcrmatos at gmail.com
Tue Sep 27 13:05:16 EDT 2016


Hello,


It doesn't work in Windows.


Best regards,

JM


terça-feira, 27 de Setembro de 2016 às 16:40:42 UTC+1, Dennis Brakhane via 
Python-ideas escreveu:

> I don't know if it works on Windows, but at least in Linux pressing 
> Ctrl-L will do exactly what you describe (as long as the REPL uses 
> readline) 
>
> On 17.09.2016 12:51, João Matos wrote: 
> > Hello, 
> > 
> > I would like to suggest adding a clear command (not function) to Python. 
> > It's simple purpose would be to clear the REPL screen, leaving the >>> 
> > prompt at the top left of the screen. 
> > 
> > This is something very basic but also very useful for newbies learning 
> > Python from the REPL. 
> > After some trial and errors it is best to start with a clean screen. 
> > Clearing the screen helps clear your mind. 
> > 
> > Historically it is a common command in interpreted languages. 
> > 
> > Best regards, 
> > 
> > JM 
> > 
> > _______________________________________________ 
> > Python-ideas mailing list 
> > Python... at python.org <javascript:> 
> > https://mail.python.org/mailman/listinfo/python-ideas 
> > Code of Conduct: http://python.org/psf/codeofconduct/ 
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160927/7b5860df/attachment.html>


More information about the Python-ideas mailing list