EasyGUI 0.96 version resource address
Link: https://pan.baidu.com/s/1nkZ5YOYy1ta8bCY2VyRwKg
Extraction code: z7r6
If the link has expired, please comment on Call me directly, unless I hang up, I will usually reply! ! !
Three ways to import easygui module
import easygui as g
import sys
while 1:
g.msgbox('嗨,欢迎进入游戏世界')
msg = '你是啥?'
title = '游戏互动'
chocies = ['人','动物','食物']
choice = g.choicebox(msg, title, chocies)
g.msgbox('你选择:' + str(choice),'结果')
msg = '你希望重开?'
title = '请选择'
if g.ccbox(msg, title):
pass
else:
sys.exit(0)