<filename>books/tech/py/m_lutz-programming_python-4_ed/code/ch_08/01_configuring_widget_appearance_1/main.pyw<gh_stars>0
from tkinter import *


if __name__ == '__main__':
    root = Tk()
    label_font = ('times', 20, 'bold')
    widget = Label(root, text = 'Hello config world')
    widget.config(bg = 'black', fg = 'yellow')
    widget.config(font = label_font)
    widget.config(height = 3, width = 20)
    widget.pack(expand = YES, fill = BOTH)
    root.mainloop()

<filename>books/tech/py/m_lutz-programming_python-4_ed/code/ch_08/01_configuring_widget_appearance_1/main.pyw<gh_stars>0
from tkinter import *


if __name__ == '__main__':
    root = Tk()
    label_font = ('times', 20, 'bold')
    widget = Label(root, text = 'Hello config world')
    widget.config(bg = 'black', fg = 'yellow')
    widget.config(font = label_font)
    widget.config(height = 3, width = 20)
    widget.pack(expand = YES, fill = BOTH)
    root.mainloop()
