Python пауза
import os
os.system("pause")
Poor Pintail
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()
import time
time.sleep(amount of seconds you want to pause the script for)
Example :
import time
secondstogo = input("How much seconds do you want to wait? : ")
print(f"waiting {secondstogo} seconds")
time.sleep(secondstogo)
import getch
def pause():
print("press any key to continue")
getch.getch()