[Python-ideas] Suggestion: Clear screen command for the REPL
Dennis Brakhane
brakhane at googlemail.com
Tue Sep 27 11:39:52 EDT 2016
More information about the Python-ideas mailing list
Tue Sep 27 11:39:52 EDT 2016
- Previous message (by thread): [Python-ideas] Suggestion: Clear screen command for the REPL
- Next message (by thread): [Python-ideas] Suggestion: Clear screen command for the REPL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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-ideas at python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: <http://mail.python.org/pipermail/python-ideas/attachments/20160927/e7ba8ce9/attachment.sig>
- Previous message (by thread): [Python-ideas] Suggestion: Clear screen command for the REPL
- Next message (by thread): [Python-ideas] Suggestion: Clear screen command for the REPL
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list