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)
- Text attributes specifies the text of the message box.
- Title attribute specifies title of the message box.
- Default specifies the default value in textbox.
Output
Click to Enlarge