Articles → Pyautogui → pyautogui.confirm function in pyautogui

pyautogui.confirm function in pyautogui






Purpose





Example


import pyautogui


buttonClicked = pyautogui.confirm(text="Are you sure you want to submit?", title="Confirmation", buttons=['Agree','disagree'])


print(buttonClicked)



Output



Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 30, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250