7. How to Get input In Tkinter and display it on screen | Entry in Tkinter
7. How to Get input In Tkinter and display it on screen | Entry in Tkinter
Note : Recplace (greater than) and (less than) with their sign/symbol ( Because Youtube donot allow angle brackets in description ) OR You can get this code on github by using github link
Code github Link : https://github.com/ubaidahmadceh/tkinter_basics_to_advanced/blob/main/Entry_OR_Input_in_Tkinter.py
code :
from tkinter import *
root = Tk()
root.geometry('600x600')
def hello_user():
name_display = Label(root, text="Hello, "+name.get())
name_display.pack()
name = Entry(root)
name.pack()
hello_button = Button(root, text="Say Hello", command=hello_user)
hello_button.pack()
root.mainloop()
how to python tkinter,tkinter grid system,tkinter python,tkinter entry widget,tkinter input field,what to do during quarantine,build graphical user interfaces with python,input fields with tkinter,graphical user interfaces python,entry widget tkinter,tkinter tutorial,tkinter gui,python tkinter,learn tkinter,tkinter,grid system tkinter,learn python the hard way,automate the boring stuff,learn python,quarantine coding,python grid system