import time
from tkinter import *
root=Tk()
root.geometry("359x150+0+0")
root.configure(background="black")
root.resizable(0,0)
root.overrideredirect(1)
def start():
text=time.strftime("%H:%M:%S")
label.config(text=text)
label.after(200,start)
label=Label(root,font=("arial",50,'bold'),bg='black',fg='red',bd=50)
label.grid(row=0,column=1)
start()
print("done")
root.mainloop()
Friday, February 11, 2022
Creating a Digital Watch in Python
Subscribe to:
Post Comments (Atom)
MCQ QUESTIONS
Loading…
-
Q-1. In CIN C stands for ......? a.Customer b.Corporate c.Consumer d. Calculation Q2-How many Default Accounting Group in Tally Prime...
-
ECC- Expert computer course it is enhanced version of CCC. and in this course duration is increases, it is best course for student who w...
-
Now a days in computer languages java is very famous . it is developed by James Gosling in Sun MicroSystem in 1991. initially it was deve...
No comments:
Post a Comment