
def hwtext(self, frame):
font = "times 18 bold"
hwtext = Label(frame, text="Hello, World!", font=font)
hwtext.pack(side='top', pady=20)
# note: hwtext is the name of the function _and_ the name
# of a local variable (this is ok in Python)
# the local hwtext variable is destroyed at the end of the
# hwtext function