Create your own digital clock in python

Published: 26 March 2022
on channel: Wikkihut
53
3

Create your own digital clock in python

#python #tkinter #programming

coden below:
from tkinter import Label, Tk
import time
app_window = Tk()
app_window.title("Digital Clock")
app_window.geometry("420x150")
app_window.resizable(1,1)

text_font= ("Boulder", 68, 'bold')
background = "#f2e750"
foreground= "#363529"
border_width = 25

label = Label(app_window, font=text_font, bg=background, fg=foreground, bd=border_width)
label.grid(row=0, column=1)

def digital_clock():
time_live = time.strftime("%H:%M:%S")
label.config(text=time_live)
label.after(200, digital_clock)

digital_clock()
app_window.mainloop()


#mini #python #projects create your own digital clock in python python mini projects with source code for beginners python for beginners python tkinter python tkinter tutorial python tkinter project fun with python best python projects for beginners mini python projects with source code python programming python gaming python digital clock digital clock python digital clock python tkinter digital clock python code
#tkinter
#miniprojects
#wikkihut
#code

Email slicer with python #python
   • Email slicer with python #python  


On this page of the site you can watch the video online Create your own digital clock in python with a duration of hours minute second in good quality, which was uploaded by the user Wikkihut 26 March 2022, share the link with friends and acquaintances, this video has already been watched 53 times on youtube and it was liked by 3 viewers. Enjoy your viewing!