from tkinter import *
import tkinter.tkk import *

from the import strftime

root = Tk()
root.title("clock")

def time():
string = strftime('%H,%M,%S %p')
label.config(text=string)
label.after(1000, time)


label = Label(root, font=("ds-digital", 100), background = "black", foreground = "cyan")
label.pack(anchor='centre' )