not pack methon in tkinter

kuangye kuangye19840410 at gmail.com
Fri Mar 27 04:39:32 CET 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