Get unique values from a list in python
<p>I want to get the unique values from the following list:</p>

<pre><code>[u'nowplaying'][u'PBS'][u'PBS'][u'nowplaying'][u'job'][u'debate'][u'thenandnow']
</code></pre>

<p>The output which i require is:</p>

<pre><code> [u'nowplaying'][u'PBS'][u'job'][u'debate'][u'thenandnow']
</code></pre>

<p>i tried the following code :</p>

<pre><code>     for x in trends:
            if x not in output:
                output.append(x)
                print output
</code></pre>

<p>but it didnt work. Any help would be appreciated</p>

<p>Thanks in advance</p>
