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.

Author eryksun
Recipients eryksun, parsampsh
Date 2021-03-08.13:39:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615210793.14.0.43905472709.issue43432@roundup.psfhosted.org>
In-reply-to
Content
The idea of adding some kind of clear_screen() function in the os or shutil module was discussed extensively on python-ideas a few months ago:

https://mail.python.org/archives/list/python-ideas@python.org/thread/EWQ2BOL3WVZAU2V2MT3HLXN3AEBHANNZ
https://mail.python.org/archives/list/python-ideas@python.org/thread/N2G5MDPST6IMUQCK6LLAUOVIJIOOC2XJ

I would not want to clear the terminal scrollback buffer, in which case the implementation in Windows would need to use the console API and/or VT sequences instead of the CMD shell's CLS command.
History
Date User Action Args
2021-03-08 13:39:53eryksunsetrecipients: + eryksun, parsampsh
2021-03-08 13:39:53eryksunsetmessageid: <1615210793.14.0.43905472709.issue43432@roundup.psfhosted.org>
2021-03-08 13:39:53eryksunlinkissue43432 messages
2021-03-08 13:39:53eryksuncreate