Saturday 19 January 2008

simple python gui

from Tkinter import *
root = Tk()

w = Label(root, text="Hello, world!")
w.pack()

root.mainloop() # if runs in IDLE, comment this line, otherwise errors occur.

No comments:

My photo
London, United Kingdom
twitter.com/zhengxin

Facebook & Twitter