Re: [Tutor] Mainloop conflict

2011-07-30 Thread Stefan Behnel
Christopher King, 31.07.2011 04:30: I think I'll go with threading. I've become more familiar with it. That's ok. When used carefully, threads can be pretty helpful to gain concurrency in I/O tasks. But just in case you ever feel like using them for anything else, this is worth a read: ht

Re: [Tutor] Mainloop conflict

2011-07-30 Thread Christopher King
I think I'll go with threading. I've become more familiar with it. ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor

Re: [Tutor] Mainloop conflict

2011-07-29 Thread Peter Otten
Stefan Behnel wrote: > Christopher King, 29.07.2011 17:08: >> On Thursday, July 28, 2011, Dave Angel 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, whic

Re: [Tutor] Mainloop conflict

2011-07-29 Thread Stefan Behnel
Christopher King, 29.07.2011 17:08: On Thursday, July 28, 2011, Dave Angel 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 makin

Re: [Tutor] Mainloop conflict

2011-07-29 Thread Dave Angel
On 07/29/2011 11:08 AM, Christopher King wrote: I was afraid of that. Please don't top-post. It's becoming more prevalent on this list, but it makes things very confusing. I need to put my response just after yours, but then the other relevant pieces are out of order. On Thursday, July 28,

Re: [Tutor] Mainloop conflict

2011-07-29 Thread Christopher King
I was afraid of that. On Thursday, July 28, 2011, Dave Angel 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

Re: [Tutor] Mainloop conflict

2011-07-28 Thread Stefan Behnel
Christopher King, 29.07.2011 02:32: 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 t

Re: [Tutor] Mainloop conflict

2011-07-28 Thread Dave Angel
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 excep

[Tutor] Mainloop conflict

2011-07-28 Thread Christopher King
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. A