Import Easygui flavor = Easygui.buttonbox ("What's your favorite?", choices = ["Vanilla", "chocolate", "strawberry"]) E Asygui.msgbox ("Picked" + flavor) Easygui.msgbox (Flavor + "is great!")
Program run
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "http://s3.51cto.com/wyfs02/M02/8C/9B/wKiom1hxKemTP3ezAABASWqK5fs530.png" height= "159" />
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://s3.51cto.com/wyfs02/M02/8C/97/wKioL1hxKerDVJozAAAogfOIWAU841.png" height= "157" />
650) this.width=650; "title=" image "style=" border-top:0px;border-right:0px;border-bottom:0px;border-left:0px; " Border= "0" alt= "image" Src= "Http://s3.51cto.com/wyfs02/M00/8C/97/wKioL1hxKeuBD9H8AAA7sgy6mG0915.png" height= "160" />
In addition Pycharm can't call Easygui module, take time to study
Python Practice-easygui-Select taste