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
Click to Enlarge