Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python3 newbie
#10
(Jul-27-2017, 06:32 PM)Larz60+ Wrote:
root.after(1000, update_value, var, root) 
This code gets called once, and only once when you start the application (after 1 sec)

To make this a recurring event, you can use something like: https://stackoverflow.com/questions/1657...ding-timer

hello, thanks for your reply.

I am a little confused. you said
root.after(1000, update_value, var, root) 
,"This code gets called once, and only once when you start the application (after 1 sec)." I was under the impression that update_value is in a loop that is called every 1 sec. Thanks.
Reply


Messages In This Thread
Python3 newbie - by tony1812 - Jul-26-2017, 01:46 PM
RE: Python3 newbie - by nilamo - Jul-26-2017, 04:20 PM
RE: Python3 newbie - by tony1812 - Jul-27-2017, 09:18 AM
RE: Python3 newbie - by sparkz_alot - Jul-27-2017, 01:14 PM
RE: Python3 newbie - by Larz60+ - Jul-27-2017, 01:53 PM
RE: Python3 newbie - by tony1812 - Jul-27-2017, 03:20 PM
RE: Python3 newbie - by Larz60+ - Jul-27-2017, 05:16 PM
RE: Python3 newbie - by tony1812 - Jul-27-2017, 05:48 PM
RE: Python3 newbie - by Larz60+ - Jul-27-2017, 06:32 PM
RE: Python3 newbie - by tony1812 - Jul-27-2017, 07:47 PM
RE: Python3 newbie - by Larz60+ - Jul-27-2017, 08:01 PM
RE: Python3 newbie - by tony1812 - Jul-28-2017, 12:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Gnuradio python3 is not compatible python3 xmlrpc library How Can I Fix İt ? muratoznnnn 3 5,007 Nov-07-2019, 05:47 PM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020