Terry J. Reedy added the comment:
3.5 and 3.6 only get security fixes.
#6143 proposes to add special mechanism to clear Shell. It is a low priority
for me as I very seldom want to, or if a editor is open, one can close the
shell and start over when running the editor file.
Clear an editor
Ezio Melotti added the comment:
The cls command only works when Python is executed within a Windows terminal.
In other contexts (such as IDLE), the command doesn't work.
--
assignee: terry.reedy -> ezio.melotti
nosy: +ezio.melotti
resolution: -> not a bug
stage: -> resolved
status:
New submission from Sanmitha :
Clearing the screen of IDLE interactive mode using the following code:
import os
os.system("cls")
It doesn't clear the screen in Windows. Actually these two statements have no
effect at all.
--
Added file: https://bugs.python.org/file49178/Error_clearing
Change by Sanmitha :
--
assignee: terry.reedy
components: IDLE
nosy: Sanmitha Sadhishkumar, terry.reedy
priority: normal
severity: normal
status: open
title: Clearing the screen of IDLE interactive mode in Windows
type: performance
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.