On 5/9/05, James Stroud <[EMAIL PROTECTED]> wrote: > > Is there an easy way to grab the Unique elements from a list?
>>> from sets import Set as set >>> data = [0.1,0.5,0.6,0.4,0.1,0.5,0.6,0.9] >>> for x in set(data): ... print x ... 0.5 0.9 0.6 0.4 0.1 . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/ -- http://mail.python.org/mailman/listinfo/python-list