为什么我这个在pycharm的环境下运行不能够实现清屏啊?
import os
import time
def progress():
fill="\ "
unfill=""
barlength=int(20)
for i in range(0,barlength+1,1):
# os.system('cls')
print("当前下载进度为:"+'\033[32m'+i*fill+'\033[0m'+(barlength-i)*unfill+str(int((i/barlength)*100))+"%")
time.sleep(0.2)
progress()