from tkinter import *

tk = Tk()
try:
    tk.option_readfile('lecture_options.txt')
except TclError:
    pass
tk.title('tkinter Label demo')

Label(tk, text="""
I mean, it's a little confusing for me when you say 'dog kennel' if \
you want a mattress.  Why not just say 'mattress'?
""",
      wraplength=300, justify=LEFT, background='yellow').pack(pady=10)

f1=Frame(tk)
Label(f1,
      text="It's not working, we need more!",
      relief=RAISED).pack(side=LEFT, padx=5)
Label(f1,
      text="I'm not coming out!",
      relief=SUNKEN).pack(side=LEFT, padx=5)
f1.pack()

f2=Frame(tk)
for bitmap, relief  in (
    ('xlogo64',     RAISED),
    ('mensetmanus', SOLID),
    ('terminal',    SUNKEN),
    ('escherknot',  FLAT),
    ('calculator',  GROOVE),
    ('letters',     RIDGE)):
    Label(f2,
          bitmap='@bitmaps/%s' % bitmap,
          relief=relief).pack(side=LEFT, padx=5)
f2.pack()

tk.mainloop()
