标签:python
import easygui flavor = easygui.buttonbox("what is your favorite?", choices = ["vanilla","chocolate","strawberry"]) easygui.msgbox ("you picked " + flavor) easygui.msgbox (flavor + "is great!")
程序运行截图
另外PyCharm里竟然无法调用easygui的module,要花时间研究一下
标签:python
原文地址:http://huzhongliang.blog.51cto.com/1817180/1890122