1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
from Tkinter import *
root = Tk()
root.geometry("450x600+10+10")
root.title("Booleanv1.0")
Cadre_1 = Frame(root, width=400, height=100)
Cadre_1.pack(side='top')
fileA = Label(Cadre_1, text="File A")
fileA.grid(row=0,column=0)
entA = Entry(Cadre_1, width=40)
entA.grid(row=0,column=1, pady=10)
open_fileA = Button(Cadre_1, text='SELECT', width=10, height=1, command = root.destroy)
open_fileA.grid(row=0, column=2)
fileB = Label(Cadre_1, text="File B")
fileB.grid(row=1,column=0)
entB = Entry(Cadre_1, width=40)
entB.grid(row=1,column=1, pady=10)
open_fileB = Button(Cadre_1, text='SELECT', width=10, height=1, command = root.destroy)
open_fileB.grid(row=1, column=2)
root.mainloop() |
Partager