python - NoneType object has no attribute to get (Tkinter ...
stackoverflow.com › questions › 54819899Feb 22, 2019 · NoneType object has no attribute to get (Tkinter) [duplicate] Bookmark this question. Show activity on this post. Closed 2 years ago. from tkinter import * root = Tk () def do (r, a): s = r.get () p = a.get () Button (root, text="DEL3TE", fg="red", command=lambda: do (r, a)).grid (row=0, column=0) r = Entry (root, width=15, bg="white").grid (row=0, column=1) a = Entry (root, width=15, bg="white").grid (row=1, column=1) Label (text="text1").grid (row=1, column=2) Label (text="text2").grid ...