from tkinter import * from time import * def affiche(): actu=time() reste=int(round(fin-actu)) reste_ST=localtime(reste) L.config(text=strftime("%H:%M:%S",reste_ST)) fen.after(1000,affiche) fen=Tk() fen.geometry("300x50") L=Label(fen,text="heure") L.place(x=10,y=10) fin=time()+3610 affiche() fen.mainloop()