title: Printing unicode character NAMES - e.g. 'GREEK SMALL LETTER ALPHA' - instead of 'α'
body: <p>I am testing function <code>isprintable()</code>. I want to print the Unicode NAMES of all characters in string <code>string.whitespace + unicodedata.lookup(&quot;GREEK SMALL LETTER ALPHA&quot;)</code>.</p>
  <p>How to print the all the names - e.g 'SPACE', 'NO-BREAK SPACE', HORIZONTAL TAB, 'GREEK SMALL LETTER ALPHA.</p>
  <pre><code>import unicodedata, string
  
  for e in string.whitespace + unicodedata.lookup(&quot;GREEK SMALL LETTER ALPHA&quot;):
      print(ord(e))
      print(unicodedata.name(e))
  </code></pre>
  <p>I get error 'ValueError: no such name'</p>
  <pre><code>32
  SPACE
  9
  Traceback (most recent call last):
    File &quot;&lt;stdin&gt;&quot;, line 3, in &lt;module&gt;
  ValueError: no such name
  </code></pre>