''' Welcome to LearnPython.NET Author: LearnPython.Net Editor: CoderChiu ''' from tkinter import * root = Tk() w = Label(root, text="Hello, world!") w.pack() root.mainloop()