1 import easygui as g 2 import sys 3 4 while 1: 5 g.msgbox("我一定要学会编程!","加油!") 6 #choices = ['愿意', '不愿意', '有钱的时候愿意'] 7 #g.choicebox('你愿意购买资源打包支持小甲鱼吗?', choices = choices) 8 9 g.buttonbox("刷个",p_w_picpath="doubi.gif",choices=("帅","衰","不帅"))10 11 if g.ccbox("继续",choices=("要","不要")):
12 pass # user chose Continue13 else:14 sys.exit(0) # user chose Cancel
1 import easygui as g 2 import sys 3 4 while 1: 5 g.msgbox("我一定要学会编程!","加油!") 6 #choices = ['愿意', '不愿意', '有钱的时候愿意'] 7 #g.choicebox('你愿意购买资源打包支持小甲鱼吗?', choices = choices) 8 9 #g.buttonbox("刷个",p_w_picpath="doubi.gif",choices=("帅","衰","不帅"))10 str=g.enterbox()11 if g.ccbox(str,choices=("要","不要")):
12 pass # user chose Continue13 else:14 sys.exit(0) # user chose Cancel
1 import easygui as g 2 import sys 3 4 while 1: 5 g.multpasswordbox("请输入") 6 #g.msgbox("我一定要学会编程!","加油!") 7 g.textbox(text="nihao",codebox=1) 8 g.fileopenbox() 9 #g.diropenbox()10 g.multpasswordbox("请输入")11 #choices = ['愿意', '不愿意', '有钱的时候愿意']12 #g.choicebox('你愿意购买资源打包支持小甲鱼吗?', choices = choices)13 14 #g.buttonbox("刷个",p_w_picpath="doubi.gif",choices=("帅","衰","不帅"))15 str=g.enterbox()16 if g.ccbox(str,choices=("要","不要")):
17 pass # user chose Continue18 else:19 sys.exit(0) # user chose Cancel
免责声明:
① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。
② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341