[Tutor] Mainloop conflict
Christopher King
g.nius.ck at gmail.com
Fri Jul 29 17:08:46 CEST 2011
I was afraid of that.
On Thursday, July 28, 2011, Dave Angel <d at davea.name> wrote:
> On 07/28/2011 08:32 PM, Christopher King wrote:
>>
>> Dear Tutor Dudes,
>> I have a socket Gui program. The only problem is that socket.recv
waits
>> for a response, which totally screws Tkinter I think. I tried making the
>> timeout extremely small (it was alright if I didn't receive anything, I
>> was excepting that a lot) but I think that screwed socket. Anyone have
words
>> of wisdom.
>>
>> Sincerely,
>> Me
>>
> Sure:
>
> Do the socket I/O on a separate thread.
>
> --
>
> DaveA
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110729/a667b55a/attachment-0001.html>
More information about the Tutor
mailing list