Python Tkinter Program To Display Text On Window 26 January 2023 by zeroones.org 01. Example: import tkinter as tk root = tk.Tk() firstText = tk.Label(root, text="Hey, I'm Tkinter!") firstText.pack() root.mainloop() Output: Simple ouput window.