def work():
tk = Tk()
tk.update()
print(tk.winfo_screenwidth(),tk.winfo_screenheight())
tk.geometry('{}x{}'.format(tk.winfo_screenwidth(),tk.winfo_screenheight()))
tk.attributes("-topmost", True)
tk.attributes("-fullscreen",True)
tk.mainloop()
timeLabel = Label(tk,text = str(0) + ':' + str(5))
timeLabel.pack(fill = BOTH,expand = True)
for i in range(5):
time.sleep(1)
timeLabel.config(text = str(0) + ':' + str(5 - i))
tk.destroy()
运行的时候timeLable并没有显示出来
请问如何显示timeLable?并且还要显示在中间