Create a Digital Clock Using Python | Simple 10 Lines of Code

Published: 17 May 2021
on channel: Learn Computer With RCS
237
21

In this video I will tell you how you can create a digital Clock using 10 line of python code.. I will tell you the meaning of each and every line of this code by which you can easily understand this project. But What You have to do?
You Have to.....
1. Watch the Complete video
2. Subscribe the Channel "Learn Computer with RCS"
3. Like and Share This video

To Download DS-digital font Click the following Link:
https://www.dafont.com/ds-digital.font
Complete Code of this Project:
***************************************************************
from tkinter import*
import time as t
dc=Tk()
dc.title("RCS DIGITAL CLOCK")
dc.geometry("510x70")
dc.configure(bg="black")
dc.overrideredirect(1)
dc.resizable(0,0)
def time():
d=t.strftime("%d-%m-%y,%H:%M:%S:%p")
l.configure(text=d)
l.after(1000,time)
l=Label(dc,font=("DS-digital",45,'bold'),bg="black",fg="red")
l.pack()

time()
mainloop()


On this page of the site you can watch the video online Create a Digital Clock Using Python | Simple 10 Lines of Code with a duration of hours minute second in good quality, which was uploaded by the user Learn Computer With RCS 17 May 2021, share the link with friends and acquaintances, this video has already been watched 237 times on youtube and it was liked by 21 viewers. Enjoy your viewing!