On Wednesday, 22 of September 2010, Juanjo Conti wrote:
> Hello there! I'm new with Urwid and I'm trying to use it for a littel
> project. I've been reading about it and doing simple snippets for 2 weeks.
> 
> At the moment I'm just making a proof of concept. I've modified the fib.py
> example in order to use SimpleListWalkter with a list, called lalista, and
> I'm trying to update the list every second.
> 
> When running the attached example, I expect to see the screen been filled
> with the 'hola' string every second, but nothing happens.
> 
> What am I doing wrong?

Don't append lalista. Append the contents of loop itself.
Python passes arguments by value, so ListBox(lalista) creates a listbox with 
it's own copy of contents of lailista.

-- 
\.\.\.\.\.\.\.\.\.\.\.\.\.\ 
.\[email protected].\.\. 
\.http://epsilon.eu.org/\.\ 
.\.\.\.\.\.\.\.\.\.\.\.\.\. 

_______________________________________________
Urwid mailing list
[email protected]
http://lists.excess.org/mailman/listinfo/urwid

Reply via email to