import tkinter as tk #import the tkinter module as tk
core = tk.Tk() #makes the core (or root)
mylabel = tk.Label(core, text="Hello world!") #makes a label
mylabel.grid(row=0, column=1) #places the object in a virtual grid
tk.Pack() #Pack the object(s)
core.mainloop()#Make the application a loop (needed)