I'm sorry if my title is a little unclear. Basically I want to print a '.' every second for five seconds then execute a chunk of code. Here is what I tried:
for iteration in range(5) :
timer = threading.Timer(1.0, print_dot)
timer.start()
#Code chunk
It seems as though that Timer starts its own thread for every instance, so the five timers all go off very close to each other plus the code chunk also executes too early.