not pack methon in tkinter

kuangye kuangye19840410 at gmail.com
Thu Mar 26 23:39:32 EDT 2009


Hi, all.  Why can not i find the pack method in tkinter.

code segment:

from Tkinter import *

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

w.pack() ###I can not find this method in Label and Label's ancesters
##So  where does pack function come from??

root.mainloop()




More information about the Python-list mailing list