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,


Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to