Answer the question
In order to leave comments, you need to log in
How to make the text entered in the Entry be displayed?
from tkinter import *
from tkinter import messagebox
root = Tk()
root.geometry("500x700")
#entry
text1 = Entry(root)
#buttons and other
check = Button( text = 'Повторить')
#packer
text1.pack()
check.pack()
#bind
check.bind('<Button-1', check)
#function
def check( event ):
L = text1.get()
if L:
messagebox.showinfo('Success', text1)
root.mainloop()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question