标签: python-3.x progress-bar
我想在浏览器中添加一个等待窗口,并编写以下内容:
from progressbar import ProgressBar bar = Progressbar(self.miFrame, orient="horizontal", length=200, mode="determinate") bar.grid() bar.grid_forget() for i in bar(range(100)): time.sleep(200)