import tkinter as tk root = tk.Tk() root.title("My Python Desktop App") label = tk.Label(root, text="Hello, World!") label.pack() root.mainloop()