self.progressbar = ttk.Progressbar(self, orient=tk.HORIZONTAL, length=400) self.progressbar.pack() self.current = 0 self.destroy()