Python warte 1 Sek.
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 os
os.system("pause")
# To delay excusion use the time library
import time
time.sleep(secs)
# Don't use os.system("pause"), it is very slow because it needs to create
# an entire shell process. Use this instead:
import getch
def pause():
print("Press any key to continue . . . ")
getch.getch()
print("something")
wait = input("Press Enter to continue.")
print("something")