On Tue, May 12, 2009 at 3:28 AM, Sampath Girish <girishmsamp...@gmail.com> wrote: > Hi friend.... > This is Sam, a python learner. I have got some problem in > retrieving data from a grid of Pmw.EntryFields. Now i have developed a grid > of size 3X3 using two for loops. One for row and other for column. Now i > Have 9 entry fields in the form of a matrix. I need to get all the entered > data in the form of list one by one as soon as i press 'Submit' button. > Please help me in this.
You can use two for loops again. I can't be specific without seeing your code but something like this: result = [] for i in range(3): for j in range(3): value = <value in location (i, j) of the grid> result.append(value) Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor