import os
linux下为os.system('clear')windows中为os.system('cls')
原文链接:https://blog.csdn.net/dyyzlzc/article/details/79253891