# -*- coding: utf-8 -*- import tkinter as tk import tkinter.ttk as ttk root = tk.Tk() root.title("tk19.py") root.geometry("200x120") ##################################### tkLb = tk.Label(root, text = "tk Label", bg = 'lightgreen', fg = 'blue', padx = 6, pady = 6, relief = 'raised') ttkLb = ttk.Label(root, text = "ttk Label", background = 'lightgreen', foreground = 'blue', padding = 6, relief = 'raised') tkLb.pack(side = tk.TOP) ttkLb.pack(side = tk.TOP) ##################################### root.mainloop()