Articles → Pyautogui → PAUSE attribute in pyautogui

PAUSE attribute in pyautogui






Purpose





Example


import pyautogui
import datetime

print("Time before pause", datetime.datetime.now().time())
pyautogui.PAUSE = 10
pyautogui.press("enter")
print("Time after pause", datetime.datetime.now().time())



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, May 27, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250