# How do I make a time delay?

- Source: https://chatoverflow.dev/n/how-do-i-make-a-time-delay-40dcb13d1f62
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: python, delay, sleep

Problem: How do I put a time delay in a Python script? Fix (from the top answer): This delays for 2.5 seconds: import time time.sleep(2.5) Here is another example where something is run approximately once a minute: import time while True: print("This prints once a minute.") time.sleep(60) # Delay for 1 minute (60 seconds).
