import tkinter as tk
win = tk.Tk()
win.geometry('1000x900+150+150')
win.title('Тест текст')
def btn():
button = tk.Button(win, text = 'Отправить ', command = message_import)
button.grid(column = 0, row =1)
message_export = tk.Text(win, height = 10, width = 40)
message_export.grid(column=1,row =1)
def message_import():
message = str(message_export)
ms_import = tk.Label(win, text = message
)
ms_import.grid(column=3,row=1)
btn()
win.mainloop()
При нажатии на кнопку "Отправить" выводится .!text Вместо веденного текста.