[Tutor] Mainloop conflict
Dave Angel
d at davea.name
Fri Jul 29 03:01:47 CEST 2011
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
More information about the Tutor
mailing list