This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Clearing the screen of IDLE interactive mode in Windows
Type: behavior Stage: resolved
Components: IDLE Versions: Python 3.10
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Clearing the screen of IDLE interactive mode in Windows
View: 40711
Assigned To: ezio.melotti Nosy List: Dora, ezio.melotti, terry.reedy
Priority: normal Keywords:

Created on 2020-05-21 08:19 by Dora, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg369504 - (view) Author: Dora (Dora) Date: 2020-05-21 08:19
'\r' in python 3.7.2, 3.7.4, 3.8.2, 2.x versions doesn't give the desired output
Eg:
print("computer\rscience")
The expected output of the above code is : sciencer
But it displays : computerscience without functioning of \r
msg369505 - (view) Author: Dora (Dora) Date: 2020-05-21 08:24
Clearing the screen of IDLE interactive mode using the following code:
import os
os.system("cls")
It doesn't clear the screen in Windows
msg369686 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-05-23 02:17
See #23220 for backspace and return behavior.
History
Date User Action Args
2022-04-11 14:59:31adminsetgithub: 84885
2020-05-23 02:17:51terry.reedysetmessages: + msg369686
versions: + Python 3.10, - Python 3.5, Python 3.6, Python 3.7, Python 3.8
2020-05-21 10:25:19ezio.melottisetstatus: open -> closed
assignee: terry.reedy -> ezio.melotti
superseder: Clearing the screen of IDLE interactive mode in Windows
type: performance -> behavior

nosy: + ezio.melotti
resolution: duplicate
stage: resolved
2020-05-21 08:24:33Dorasetmessages: + msg369505
title: Malfunctioning of '\r' -> Clearing the screen of IDLE interactive mode in Windows
2020-05-21 08:19:13Doracreate