Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python simple input popup

#pip install easygui
import easygui
Res1= easygui.enterbox(msg="Your name?")
Res2= easygui.integerbox(msg="Enter price", upperbound=999)
print(Res1, type(Res1), Res2, type(Res2)) 
# Prints--> Bob <class 'str'> 150 <class 'int'>
Source by easygui.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #python #simple #input #popup
ADD COMMENT
Topic
Name
1+9 =