Articles → Python → 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


Picture showing the output of the PAUSE attribute in pyautogui
Click to Enlarge


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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250