Answers for "what module do i need for sleep? python"

33

python sleep

import time

print("Print now")
time.sleep(4.2)
print("Printing after 4.2 seconds")
Posted by: Guest on July-27-2020
11

delay time python

import time

time.sleep(5) # sleeps for 5 seconds
Posted by: Guest on June-16-2020

Code answers related to "what module do i need for sleep? python"

Python Answers by Framework

Browse Popular Code Answers by Language