python界面
1 import easygui as g 2 import sys 34 while 1: 5 g.msgbox("我一定要学会编程!","加油!") 6 #choices = ['愿意', '不愿意', '有钱的时候愿意'] 7 #g.choicebox('你愿意购买资源打包支持小甲鱼吗?', choices = choices) 89 g.buttonbox("刷个",image="doubi.gif",choices=("帅","衰","不帅"))10 11 if g.ccbox("继续",choices=("要","不要")):12 pass# user chose Continue13 else:14 sys.exit(0) # user chose Cancel
页:
[1]