【发布时间】:2016-03-22 07:28:24
【问题描述】:
root = Tk()
prompt = (string)
label1 = Label(root.attributes("-topmost", True), text=prompt, width=(50), height=(25))
label1.pack()
def close_after_1s():
root.destroy()
root.after(1000, close_after_1s)
root.mainloop()
【问题讨论】:
-
什么新数据?只是随机的、虚构的数据?从文件中读取数据?一个过程?服务器?数据库?