easygui使用教程(二)
buttonbox
buttonbox用来显示一个带有多个按钮的提示框,它的完整签名由msg, title, choices, image, images, default_choice, cancel_choice, callback和run构成
from easygui import *
buttonbox('please enter button1, button2 or button3', 'my first buttonbox', ['button1', 'button2', 'button3'])
enterbox
enterbox用来显示一个简单的输入框,它的完整签名由msg, title, default, strip, image和root构成
from easygui import *
enterbox('please enter your name', 'my first enterbox')
下一章继续!