Dexter Deejay wrote:

> When i try to run this code and to connect to server (server is written in
> java that part of code is ok) everything stalls. Thread that i created
> here occupies processor all the time and GUI freezes. It's supposed to be
> waiting for message from server. (asynchronous one) Is there something
> that i did wrong here, or is there better way to do this?

Fredrik Lundh has an example that shows how to update a Text widget from 
another thread:

http://effbot.org/zone/tkinter-threads.htm


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to