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.
Saturday, 19 January 2008
simple python gui
Subscribe to:
Post Comments (Atom)
Supporting MAC is my way to support Linux
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:
Post a Comment