Python czekaj 1 s.
import time
# Wait for 5 seconds
time.sleep(5)
# Wait for 300 milliseconds
# .3 can also be used
time.sleep(.300)
Blushing Bat
import time
# Wait for 5 seconds
time.sleep(5)
# Wait for 300 milliseconds
# .3 can also be used
time.sleep(.300)
import time
#Waits 1 second
time.sleep(1)
import time
print("Print now")
time.sleep(4.2)
print("Printing after 4.2 seconds")
from time import sleep
sleep(0.5)
#!/usr/bin/python3
import time
print ("Start : %s" % time.ctime())
time.sleep( 5 )
print ("End : %s" % time.ctime())
# Start : Mon Feb 15 12:08:42 2016
# End : Mon Feb 15 12:08:47 2016
import time
time.sleep(1) #it waits one sec