擅长:python、mysql、java
<p>您可以使用<a href="http://docs.python.org/2/library/sets.html" rel="noreferrer">sets</a>:</p>
<pre><code>>>> a = ['bd09fdf7-918e-4a5e-8338-0f6fe78fd238']
>>> b = ['bd09fdf7-918e-4a5e-8338-0f6fe78fd238', '3c26f383-da50-446c-8613-64e1068bd57e']
>>> list(set(b) - set(a))
['3c26f383-da50-446c-8613-64e1068bd57e']
</code></pre>