Terry J. Reedy added the comment:
The reverenced post did not give a runnable minimal example with the claimed
bug, but only described more complex code at a now dead link. The following
from http://effbot.org/tkinterbook/entry.htm works on my Win7 machine.
import tkinter as tk
master = tk.Tk()
e = tk.Entry(master)
e.pack()
e.focus_set()
def callback():
print(e.get())
b = tk.Button(master, text="get", width=10, command=callback)
b.pack()
tk.mainloop()
----------
resolution: -> out of date
stage: -> resolved
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9673>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com