-
-
Save parzibyte/66861fb5b3684d966d03055f9224781d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
raiz = tk.Tk() | |
variable_hora_actual = tk.StringVar(raiz, value=obtener_tiempo_transcurrido_formateado()) | |
raiz.etiqueta = tk.Label( | |
raiz, textvariable=variable_hora_actual, font=f"Consolas 60") | |
raiz.etiqueta.pack(side="top") | |
app = tk.Frame() | |
raiz.title("Cronómetro con Tkinter - By Parzibyte") | |
refrescar_tiempo_transcurrido() | |
app.pack() | |
app.mainloop() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment