Skip to content

CodingWitChris/AWTimer2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

AWTimer2

from tkinter import * from time import *

def update(): time_string = strftime("%I: %M: %S %p") time_label.config(text=time_string)

day_string = strftime("%A")
day_label.config(text=day_string) 

date_string = strftime("%B %D, %Y")
date_label.config(text=date_string) 


time_label.after(1000,update)

window = Tk()

time_label = Label(window,font=("Arial",50), fg="#00FF00", bg="black") time_label.pack()

day_label = Label(window,font=("Ink Free",25)) day_label.pack()

date_label = Label(window,font=("Ink Free",30)) date_label.pack()

update()

window.mainloop()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published