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


Picture showing the output of the pyautogui.confirm function in pyautogui
Click to Enlarge


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

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250