import os
os.system('cls') # for Windows
os.system('clear') # for Linux/OS X
how to clear screen in python shell
最新推荐文章于 2024-02-13 17:01:46 发布
import os
os.system('cls') # for Windows
os.system('clear') # for Linux/OS X