Skip to content

Linusmwaniki/clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

clock

#clock project #code starts here from tkinter import * from tkinter import *

from time import strftime

root = Tk() root.title("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="white", foreground="cyan") label.pack(anchor="center") time()

mainloop()

About

clock project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published