TypeError:“ Progressbar”对象不可调用

时间:2018-07-31 09:13:54

标签: 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)

0 个答案:

没有答案