On Jun 8, 12:17 am, "Delaney, Timothy (Tim)" <[EMAIL PROTECTED]> wrote: > Terry Reedy wrote: > > "Dan Bishop" <[EMAIL PROTECTED]> wrote in message > >news:[EMAIL PROTECTED] > >> If you don't need the list to be sorted until you're done building > >> it, you can just use: > > >> lst = sorted(set(lst)) > > > ?? looks same as > > lst.sort() > > You missed that the OP wants only unique values from the original list. > > Tim Delaney
tks to all for comments! -- http://mail.python.org/mailman/listinfo/python-list