Why when calling the file it does not work?

Why when it starts nothing on the screen does not appear?
from tkinter import *
tk = Tk()
btn = Button(tk, text="click me")
btn.pack()
June 8th 19 at 16:53
1 answer
June 8th 19 at 16:55
Solution
The last line you want to add
tk.mainloop()
thanks, it is strange that in the description of the example was this - Ewell commented on June 8th 19 at 16:58

Find more questions by tags Python