Re: [Tutor] Tkinter widget (label) updated by TCP/IP message

2018-05-28 Thread Alejandro Chirife via Tutor
Hi Alan, Thank you very much for your help.   I will start working on ti.  There's a lot to chew on here :) Two questions:  1. Got it that nothing to do when mainloop() gets called.  How do you send an event of data arriving when the events for tkinter are all about user interaction? 2. You

Re: [Tutor] Tkinter widget (label) updated by TCP/IP message

2018-05-28 Thread Mats Wichmann
On 05/28/2018 12:56 PM, Alejandro Chirife via Tutor wrote: > Hi Alan, > Thank you very much for your help.   I will start working on ti.  There's a > lot to chew on here :) > Two questions:  > 1. Got it that nothing to do when mainloop() gets called.  How do you send an > event of data arriving

Re: [Tutor] Tkinter widget (label) updated by TCP/IP message

2018-05-28 Thread Alan Gauld via Tutor
On 28/05/18 19:56, Alejandro Chirife via Tutor wrote: > Two questions:  > 1. ...  How do you send an event of data arriving > when the events for tkinter are all about user interaction? The easiest way is to set a global variable and use a timer event (after()) to poll the variable periodically

Re: [Tutor] get key value from Redis instance

2018-05-28 Thread Silviu Chiric
Thank you Danny, indentation and separation of code worked out as you mentioned :) Have a nice day! On Mon, May 28, 2018 at 12:14 AM, Danny Yoo wrote: > > From a first glance: it looks like one of your print statements is not > > vertically aligned with the rest of