在命令行窗口下有效: >>> import os >>> i = os.system('cls') 在shell下没找到清屏方法,知道的朋友欢迎留言:) 转自: http://home.cnblogs.com/group/topic/49651.html