GUI Program Error

John Salerno johnjsal at NOSPAMgmail.com
Mon Jun 5 16:01:33 EDT 2006


John Salerno wrote:

> What is dir(), btw? Is it a 
> class for creating the application?

Heh heh, how quickly I forget about built-ins. :) Try something like this:

import Tkinter as tk

root = tk.Tk()
label = tk.Label(root, text='Hello world!')
label.pack()
root.mainloop()



More information about the Python-list mailing list