Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

time.sleep() python

#sleep() is in seconds
import time
print("Before the sleep statement")
time.sleep(5) #wait 5 seconds
print("After the sleep statement")
Source by www.journaldev.com #
 
PREVIOUS NEXT
Tagged: #python
ADD COMMENT
Topic
Name
8+2 =