用户:
leo41查看:0 回复:0 评论:0 创建时间:2023-06-20T16:39:22
【作品展示】

【作品介绍】
this program use 2 indexboxes.
【作品源代码】
import easygui
choices = ['password', 'help', 'objects', 'exit']
choices2 = ['demo', 'back']
while True:
order = easygui.indexbox("password setting","set password systems",choices)
if (order == 3):
exit()
elif (order == 2):
od = easygui.indexbox("choice","objects",choices2)
if (od == 0):
easygui.msgbox('demo:123456abcdef(8-20 str+int)', 'demo')
else:
pass
elif (order == 1):
easygui.msgbox('enter password.', 'help')
elif (order == 0):
easygui.enterbox("password:","password")
break
else:
pass
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn