[Tkinter-discuss] question on displaying inserted text in widget 'Text'

Stewart Midwinter stewart.midwinter at gmail.com
Fri Mar 17 18:11:37 CET 2006

one line is all you need to change.

 def execute(self):
   self.addMessage(' Start testing')
   for i in range(10000):
       for j in range (2000):
   self.addMessage(' Finish testing')

BTW, it's customary, though certainly not necessary, to call your main
window 'root' (you used 'tk').


On 3/17/06, V H <haofast2006 at hotmail.com> wrote:
> Hello,
> The function what I implemented takes 30 seconds. Before running it I want
> to give some message to user by displaying them in the widget 'Text'. Seems
> it's not useful because the message are always displayed after the excution.
> Could you help me to resolve it? Thanks a lot.

Stewart Midwinter
stewart at midwinter.ca
stewart.midwinter at gmail.com
Skype, GoogleTalk, iChatAV, MSN, Yahoo: midtoad

More information about the Tkinter-discuss mailing list