Statement orders
Fredrik Lundh
fredrik at pythonware.com
Sun Oct 2 03:38:54 EDT 2005
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>
More information about the Python-list
mailing list