How do I write a capital Greek "delta" as a string in Python 2.7?
<p>I am looking for this character: <code>Δ</code> which I need for a legend item in matplotlib. Python 3.x features a <code>str</code> type that contains Unicode characters, but I couldn't find any valuable information about how to do it in Python 2.7.</p>

<pre><code>x = range(10)
y = [5] * 10
z = [y[i] - x[i] for i in xrange(10)]

plt.plot(x,z,label='Δ x,y')
plt.legend()
plt.show()
</code></pre>

<blockquote>
  <p>UnicodeDecodeError: 'ascii' codec can't decode byte 0xce in position
  0: ordinal not in range(128)</p>
</blockquote>