[Urwid] still very confused (error makes no sense)

Eric S. Johansson esj at harvee.org
Wed Jul 5 09:21:48 EDT 2006


Ian Ward wrote:
>>
>>         self.items.append(self.base_items )
> 
> Here you're appending a list to a list (so the list contains the list). 
> The last line should read:
> self.items += self.base_items

or extend instead of append which was either me been completely blonde 
or a result of fighting with a series of speech-recognition heiress to 
the point to where I forgot what I was saying.

now I am getting something about a tuple object but I think I know where 
it's coming from just not quite how to fix it yet.  You know, it might 
not be a bad idea to include a list box disassembly tool so that one can 
see  just how one has messed up.




More information about the Urwid mailing list