python idle 清屏shell窗口:
1.下载 clearwindow.py (https://bugs.python.org/file14303/ClearWindow.py)
2.存放到C:\Users\bj\AppData\Local\Programs\Python\Python36\Lib\idlelib下面
3.在这个目录下找到config-extensions.def文件末尾加上
[ClearWindow]
enable=1
enable_editor=0
enable_shell=1
[ClearWindow_cfgBindings]
clear-window=
4.然后保存退出就可以了
打开python的idle,看看options是不是多了一个选项clear shell window ctrl+x
相关文章:
1、2025信息技术会考python知识(选择题) 2025-06-24
2、Python While循环语句 2024-04-09
3、python,for循环 2024-04-09
4、Python 条件语句 2024-03-27
5、Python 运算符 2024-03-27
6、Python 变量类型 2024-03-27
7、第二节:python的input函数用法 2024-03-26