Welcome Guyz , In This Quick Video About How To Make A Digital Clock Using Python's Tkinter Module , The Code Editor That I am Using Is "Atom " Which is free one. Also Subscribe For More :)
***************** Source Code **********************
from tkinter import *
from tkinter.ttk import *
from time import strftime
window = Tk()
window.title("Clock")
def get_time():
string = strftime(" %H : %M : %S %p ")
label.config(text = string)
label.after(1000,get_time)
label = Label(font = ("Ds-Digital",30),background = "black",foreground = "#00ff00")
label.pack(anchor = "center")
get_time()
window.mainloop()
Atom Code Editor : https://atom.io
Music provided by NoCopyrightSounds
Track : Electro-Light - Symbolism [NCS Release]
Free Download / Stream: http://ncs.io/symbolism
Watch : • Electro-Light - Symbolism | Trap | NC...
HashTags
#Python
#Tkinter
#Clock