tkinter label field code example
Example 1: python tkinter label
from Tkinter import *
root = Tk()
w = Label(root, text="Hello Tkinter!")
w.pack()
root.mainloop()
Example 2: Adding label in tkinter
>>> greeting = tk.Label(text="Hello, Tkinter")