# -*- coding: utf-8 -*- from Tkinter import * root = Tk() root.config(width=350, height=250) root.title("AplicaciĆ³n de escritorio en Tk") frame = Frame(root) frame.place(x=0, y=0, width=350, height=250) button = Button(frame, text="Hola mundo!") button.place(x=50, y=50) textbox = Entry(frame) textbox.insert(0, "Ingrese su nombre...") textbox.place(x=50, y=100) checkbox = Checkbutton(frame, text="OpciĆ³n 1") checkbox.place(x=50, y=150) root.mainloop()