tkinter alarm code example
Example: alarm clock using python tkinter
from tkinter import *
from tkinter.ttk import *
import pyttsx3
from time import strftime
root = Tk()
root.title("my clock")
def time():
string = strftime("%H:%M:%S %p %d,%m,%Y")
lable.config(text = string)
lable.after(1000 ,time)
lable = Label(root, font=("ds-digital", 80), background="black", foreground="cyan")
lable.pack(anchor = "center")
time()
mainloop()