GUI Clock In Python – How To Create Clock In Python

Python

GUI Clock In Python – Python Me Aaj Tkinter In Hindi ka Istemal karke Ek Simple Gui Clock Create Karne Wale Hai or Ham Code Ko Bhi Simple Rakhne Wale Hai – How To Create Clock In Python |

Agar Aapko Python Tkinter Nhi Aata Hai, To Aap Wo Bhi Learn Kar Sakte Hai, Kyoki Ye Clock Keval Python Tkinter Me Banne Wali hai |

A to Z Python Tkinter Tutorial

Clock Code:

from tkinter import *
from tkinter.ttk import *
from time import strftime 

dk = Tk()
dk.title("Clock")
dk.minsize(width=610,height=110)
dk.maxsize(width=600,height=100)

label = Label(dk, font=("ds-digital",80),background="black",foreground='white')
label.pack(anchor='center')

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

time()

dk.mainloop()

Output:

gui clock in python

Dosto mujhe ummed hai ki aap Clock In Python GUI ko acchi tarah se samanjh gye honge agar aap ko ye post acchi lage to mere is website ko jarur follow kre or ha agar aap video bhi dekhna chahte hai to aap mere channel ko bhi subscribe kar sakte hai. channel ka link aapko home page par mil jayega |

Friends Agar Aapko Meri Post Or Mera Kaam Accha Lagta Hai, To Aap Meri Help Kar Sakte Hai, Kyoki Agar Aap Mujhe Support Karenge To Me Bhi Best Quality Content Par Or Jyada Focus Karunga Or Meri Study Bhi Aapki Help Se Ho Payegi, Plzzz Support Me

Leave a Reply

Your email address will not be published.