cho mình hỏi là ntn sai chỗ nào mà lúc mình bấm nút n ko hiện ra j cả. thanks trước ạ
from tkinter import *
master = Tk()
master.title("Multi_Form")
def retreive_input(cell):
inputValue = cell.get("1.0",END)
print(inputValue)
Label(master, text="DUT1",).grid(row=1)
Label(master, text="DUT2").grid(row=1,column=1)
Label(master, text="DUT3").grid(row=4)
Label(master, text="DUT4").grid(row=4,column=1)
e1=Text(master,width=30,height=10)
e2=Text(master,width=30,height=10)
e3=Text(master,width=30,height=10)
e4=Text(master,width=30,height=10)
e1.grid(row=0, column=0)
e2.grid(row=0, column=1)
e3.grid(row=3, column=0)
e4.grid(row=3, column=1)
buttonGetdata = Button(master,text="Get Data",command=retreive_input(e1))
buttonGetdata.grid(row=5,column=0,ipadx="50",ipady="10")
master.mainloop( )