[Tutor] threading and gui programming

Ben nebpro at gmail.com
Tue Mar 20 20:13:01 CET 2007


That makes sense. I am a newbie to python programming. What really confuses
me is that there are so many gui programming options for python (i.e.
pywin32, wxPython, etc). Is this means that all of these available gui
options be able to integrate with threading? Thanks.

On 3/20/07, Kent Johnson <kent37 at tds.net> wrote:
>
> Ben wrote:
> > Hi all,
> >
> > I am curious about one thing. I have been doing research on gui
> > programming. One thing that I don't understand is why there are some
> > examples uses threading in the gui examples. Is there any benefits or
> > advantages for using the threading in the gui programming? Thanks.
>
> This is commonly done when a user action starts some kind of processing
> that will take some time. In order for the GUI to remain responsive, the
> long process must be in a different thread. In general, the GUI will not
> respond to new input until the event handler for the user action returns.
>
> Kent
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20070320/e89eb8c9/attachment.htm 


More information about the Tutor mailing list