Skip to content

mj2499/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

clock

clock using python

from tkinter import*
from tkinter.ttk import*

from time import strftime

root = Tk()
root.title("clock")

def time():
string = strftime('%I:%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()

About

clock using python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages