Skip to content

Instantly share code, notes, and snippets.

@brandon22esquivel
Created September 5, 2019 01:20
Show Gist options
  • Save brandon22esquivel/dc02022dbf9eba35baac7e8149ac27ac to your computer and use it in GitHub Desktop.
Save brandon22esquivel/dc02022dbf9eba35baac7e8149ac27ac to your computer and use it in GitHub Desktop.
from Tkinter import *
#MI MARCO
raiz=Tk()
raiz.title("Mi Aplicacion")
#MI ETIQUETA NOMBRE
nombreLabel1 = Label(raiz, text="Nombre del Alumno:")
nombreLabel1.grid(row=0, column=0)
#EL ENTRY DEL NOMBRE
cuadronombre = Entry(raiz)
cuadronombre.grid(row=0,column=1)
#MI ETIQUETA APELLIDO
apellidoLabel2=Label(raiz, text="Apellido:")
apellidoLabel2.grid(row=1,column=0)
#EL ENTRY DEL APELLIDO
cuadroapellido = Entry(raiz)
cuadroapellido.grid(row=1,column=1)
raiz.mainloop()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment