filmov
tv
#shorts #programming Clock program using python tkinter!!!

Показать описание
#shorts #programming
Subscribe or leave a comment for more python tutorials!!!
The code:
from tkinter import *
from time import *
def update():
time_string = strftime("%I:%M:%S %p")
day_string = strftime("%A")
#Cool
date_string = strftime("%B %d %Y")
window = Tk()
time_label = Label(window,font=("Arial",50),fg="#00FF00",bg="black")
day_label = Label(window,font=("Ink Free",25))
date_label = Label(window,font=("Ink Free",30))
update()
#Subscribe
Subscribe or leave a comment for more python tutorials!!!
The code:
from tkinter import *
from time import *
def update():
time_string = strftime("%I:%M:%S %p")
day_string = strftime("%A")
#Cool
date_string = strftime("%B %d %Y")
window = Tk()
time_label = Label(window,font=("Arial",50),fg="#00FF00",bg="black")
day_label = Label(window,font=("Ink Free",25))
date_label = Label(window,font=("Ink Free",30))
update()
#Subscribe