Listbox.append()

Terry Reedy tjreedy at udel.edu
Thu Feb 19 15:18:48 CET 2004


"José Carlos" <josecarlos at siadv.com> wrote in message
news:c12cv4$lqi$1 at nsnmrro2-gest.nuria.telefonica-data.net...
> Hi.
>
> How can i do to using a listbox.append(), it adds item in the first
line.?

Responding to what I think you asked: append means 'add to the end'.  That
is what list.append does and what I presume listbox.append does.  To insert
an item elsewhere, there is list.insert.  I don't know whether listbox has
an insert method or not.  Check the docs more carefully.

TJR







More information about the Python-list mailing list