Articles → Python → Pyautogui.Prompt Function In Pyautogui

Pyautogui.Prompt Function In Pyautogui






Purpose





Example


import pyautogui

name = pyautogui.prompt(text='Please enter your name', title='enter name' , default='gyan')

print(name)




  1. Text attributes specifies the text of the message box.
  2. Title attribute specifies title of the message box.
  3. Default specifies the default value in textbox.

Output


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


Posted By  -  Karan Gupta
 
Posted On  -  Friday, May 31, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250