import tkinter as tk window = tk.Tk() greeting = tk.Label(text="Hello, Tkinter") greeting.pack() window.mainloop()