Tkinter 学习

from Tkinter import *

root = Tk()

mylabel = Label(root, text = "I am a label widget")

mybutton = Button(root,text = "I am a button" )

mylabel.pack()

mybutton.pack()

root.mainloop()

 

posted @ 2015-05-14 20:06  司徒无名  阅读(143)  评论(0编辑  收藏  举报