Monu Agrawal wrote: > Hi I am making a gui based tool. When user preses a perticular button I > am running a heavy command, before this I want to say user to wait with > a image showing infront of her. > > My code is like: > > def loadData(self): > top=Toplevel(self.parent) > top.focus_set() > self.parent.wm_title("Loading Data...")
+ top.update() # flush the event queue > os.system('a heavy command') > os.system('another heavy command) > top.destroy() </F> -- http://mail.python.org/mailman/listinfo/python-list