Problem with a for loop and a list

John McMonagle jmcmonagle at
Wed Jul 2 10:33:25 CEST 2008

Alexnb wrote:
> well okay, so what can I do?
Firstly, stop top posting.  Replies to a thread "flow" better if bottom

Secondly, it sounds like you want to build a list of the results from
your entry.get() calls.

Try this:

self.wordList = []
def getWords(self):
    for entry in self.listBuffer:

print self.wordList

More information about the Python-list mailing list