I want to get time ticker in python in real time. The idea here is I am doing a set of functions again and again, but I want to give a time interval of 10 mins before I execute again. for eg:
rigt now I do this
lst = [1,2,3,4,5]
while lst:
do something
lst.pop(0)
time.sleep(600)
this will just wait for 10 mins and do the loop again.
I want to print in real-time, the seconds left to start the loop again. i.e I want to print
waiting for 600 sec
waiting for 500 sec and so on.
The best would be for it to change just the numbers not printing "waiting for" for every second.