EasyGui(easygui-docs-0.96 utorialindex.html)
import easygui as g import sys while 1: g.msgbox('mess1') msg = 'ms2' title = 'ms3' choices = ['a','b','c','d'] choice = g.choicebox(msg, title, choices) g.msgbox('your choice is'+str(choice),'result') msg = 'try again' title = 'select' if g.ccbox(msg, title): pass else: sys.exit(0)