CALENDARIO

# Universidad Tecnica Estatal de Quevedo
#realizado por Gabriela Guato Aveiga
# carrera: Software "A"
from tkinter import *
from tkcalendar import *

root= Tk ()
root.title ("Calendario")
root.geometry ("500x350")
root.config (bg= "gray")

cal= Calendar(root, select= "dia", año= 2023, mes=8, dia=23 )
cal.pack (pady=20, fill="both", expand= "yes")

def Fecha():
    Label.config(text= "Fecha de hoy " + cal.get_date())

Button = Button(root, text="Fecha", command=Fecha)
Button.pack(pady=20)

Label= Label(root, text="")
Label.pack(pady=20)


root.mainloop()








Comentarios

Entradas populares de este blog

JUEGOS EN PSEINT

Temporizador y Cronometro

CALCULADORA BASICA