Sep-17-2020, 08:52 AM
Strange, the label Place I know of code is right but not working... I might missed something:
It did not stay position ?
from tkinter import * import time win = Tk() win.attributes('-fullscreen', True) win.configure(bg='black') def start_display(V): lab1=Label(win, text=V, font=('DIGITAL DISMAY',50),fg="blue", bg="black") lab1.place(x=10,y=10) lab1.pack() return while True: T = time.strftime("%H:%M:%S") start_display(T) time.sleep(1) win.update() win.mainloop()The result is:
It did not stay position ?