IDLE: clearing the screen

Cave Man caveman at example.invalid
Tue Jun 4 09:34:17 EDT 2024


Hello everyone,

I am  new to Python, and I have been using IDLE (v3.10.11) to run small 
Python code. However, I have seen that the output scrolls to the bottom 
in the output window.

Is there a way to clear the output window (something like cls in command 
prompt or clear in terminal), so that output stays at the top?


Thanks in anticipation!


More information about the Python-list mailing list