Skip to content

Instantly share code, notes, and snippets.

@nicanor-romerovenier
Created August 20, 2016 16:46
Show Gist options
  • Save nicanor-romerovenier/d6d895c5e310eda9e15cdcefc04767c9 to your computer and use it in GitHub Desktop.
Save nicanor-romerovenier/d6d895c5e310eda9e15cdcefc04767c9 to your computer and use it in GitHub Desktop.
Programar Fácil - Tutorial de Python # 4
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__author__ = "Nicanor Romero Venier"
__copyright__ = "Copyright 2016, Programar Fácil"
import tkinter
mi_ventana = tkinter.Tk()
mi_ventana.geometry("640x480")
# Creo un botón
mi_boton = tkinter.Button(text="Mi botón!")
# Coloco mi botón en la ventana principal
mi_boton.pack()
mi_ventana.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment