tkinter entry
from tkinter import *
root = Tk()
entry = Entry(root)
print(entry.get()) # Would print entry data in CL
tkinter entry
from tkinter import *
root = Tk()
entry = Entry(root)
print(entry.get()) # Would print entry data in CL
text variable tkinter
#set a variable and assign it to data type
v = StringVar()
#put that variable as the textvariable value
e = Entry(master, textvariable=v)
#then pack it
e.pack()
#to asign a value to that variable
v.set("a default value")
#to see the value
s = v.get()
print(s)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us