tkinter, sockets and threads together

Steve Holden sholden at holdenweb.com
Fri Sep 12 07:57:48 EDT 2003


"Julia Goolia" <juliagoolia301 at hotmail.com> wrote in message
news:79ad5955.0309111133.5f6bf26f at posting.google.com...
> hello,
>
> i read that it is bad to use threads with tkinter.  so my question is
> how does one create a gui program with sockets?  at one point you have
> to call mainloop() which does not return.  then you are not free to do
> stuff with the sockets.
>
> what's up with that?
>
> thanks so much for your time!

Well, one page worth reading would be Jacob Hallén's

    http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/82965

recipe, which IIRC is pretty general.

regards
-- 
Steve Holden                                  http://www.holdenweb.com/
Python Web Programming                 http://pydish.holdenweb.com/pwp/








More information about the Python-list mailing list