[Urwid] ListWalker from file
Ian Ward
ian at excess.org
Wed Mar 11 14:20:53 EDT 2009
Johannes Trithemius wrote:
> Hello, i need create a listwolker whit items from a file whit ip
> numbers for add an remove.
>
> Please help me.
>
> Sorry for my english.
>
> Thanks.
Hi Johannes,
If you really need a custom ListWalker you could look at edit.py as an
example of how to do that.
If you just want a list of IP addresses from a file you can use a
ListBox with a SimpleListWalker object instead.
I hope this is what you are looking for. If you have trouble feel free
to post some code to the list.
Ian
More information about the Urwid
mailing list