label border tkinter code example
Example 1: tkiner border
from tkinter import *
root = Tk()
example = Label(root, Text="Hello World!", borderwidth="2", relief="groove")
# Releif is the effect what goes with the border.
#" flat", "raised", "sunken", "ridge", "solid" are relief commands too.
root.mainloop()
Example 2: tkinter label border
l1 = Label(root, text="This", borderwidth=2, relief="groove")