title: How to find out number/name of unicode character in Python?
body: <p>In Python:</p>
  <pre><code>&gt;&gt;&gt; &quot;\N{BLACK SPADE SUIT}&quot;
  '♠'
  &gt;&gt;&gt; &quot;\u2660&quot;
  '♠'
  </code></pre>
  <p>Now, let's say I have a character which I don't know the name or number for. Is there a Python function which gives this information like this?</p>
  <pre><code>&gt;&gt;&gt; wanted_function('♠')
  [&quot;BLACK SPADE SUIT&quot;, &quot;u2660&quot;]
  </code></pre>