Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to pause a python script

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)
Source by pythonspot.com #
 
PREVIOUS NEXT
Tagged: #pause #python #script
ADD COMMENT
Topic
Name
1+2 =