INNER CODE UNIT · Python

time

Kushal997-das/Project-Guidance · Desktop Application/Basic/Python/Digital-Clock/main.py:6

def time():
    string=strftime('%H:%M:%S %p')
    label.config(text=string)
    label.after(1000,time)
label=Label(root,font=("ds_digital",80),background="black",foreground="cyan")
label.pack(anchor='center')
time()
mainloop()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…