With lambda your codes will look like this:
[code]
from Tkinter import *
fields = 'Name', 'Job', 'Pay'
def fetch(entries):
for entry in entries:
print 'Input => "%s"' % entry.get() # get text
def makeform(root, fields):
entries = []
for field in fields:
row = Frame(r
here is a example 9-18.pp3e\gui\tour\entry2.py from the book "programming
python(third edition)",
i revise it as following,change the "fetch(entries)" to "fetch(event,entries)"
,and add ,event.widget
to understand lambda is my goal,
there is a question i can't solve,when i click button ,wro