from tkinter import *from tkinter.ttk import *from time import strftimeroot = Tk()root.title("Digital Clock")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()
A Digital Watch GUI Program using Python Tkinter
Make a Digital Watch GUI Program in Python using Python Tkinter
Source Code :
0 Comments
Post a Comment