[Idle-dev] clear screen in idle

Terry Reedy tjreedy at udel.edu
Wed Aug 23 21:09:00 EDT 2017


On 8/13/2017 1:54 PM, Lee caraway via IDLE-dev wrote:
> Hello,
> 
> I am new to python and I find it odd that their is not a "clear screen" 
> command  for the IDLE window.
> I am in windows 10
> 
> I can do:
> 
>  >>>import os
>  >>>os.system('cls')
> 
> The window flashs and tries to clear the screen but fails.
> 
> Please help.

Non-members are not generally allowed to post messages to this list, 
both to block spam and so that people get answers.

In editor, select all (cntl-a), delete.
In shell, it is a low priority item with some unresolved issues.
see https://bugs.python.org/issue6143

-- 
Terry Jan Reedy




More information about the IDLE-dev mailing list