On Fri, 2009-03-20 at 07:54 -0700, thomasvang...@gmail.com wrote: > You could use: > B=list(set(A)).sort() > Hope that helps.
Which will assign None to B. sorted(list(... or B.sort() is probably what you meant. -- http://mail.python.org/mailman/listinfo/python-list