pause and loop

Posted under » Python on 03 July 2024

Use the time library and import sleep

from time import sleep
for i in range(100):

In this example it will print the count i every 5 seconds until it reaches 100 counts.

web security linux ubuntu python django git Raspberry apache mysql php drupal cake javascript css AWS data