在本规范中:
#! street.py
# A simple program which tests GUI
import easygui
easygui.msgbox("This programe asks for your info and stores them")
name = easygui.enterbox("What is your name?")
hNumber = easygui.enterbox("What is your house number")
street = easygui.enterbox("What is your post number?")
city = easygui.enterbox("What is your city?")
country = easygui.enterbox("What is your country?")
easygui.msgbox(name +
hNumber +
street +
city +
country)
最后一个窗口有问题(易趣.msgbox(…..),我希望在一个窗口中以不同的行显示所有信息,但只能在单行上显示。\n
和类似的不起作用。在
这可能适用于
"\n"
时间长了一点,但效果也不错。在
我试过了,你可以试试我的固定版本。在
相关问题 更多 >
编程相关推荐