title: How to input unicode character and get its numeric value
body: <p>I am trying to take a file and remove all characters that are not in the greek language. We found the unicode values for the alphabet, 880 - 1023, and were able to print out the correct characters with a simple <code>print(unichr(880))</code> line. The problem is when running this code </p>
  
  <pre><code>greek ='ÏÎ' 
  for c in greek:
      if(unichr(c) &gt;= 880 and unichr(c) &lt;= 1023):
          print(c)
  </code></pre>
  
  <p>Is there a way to enter any letter or symbol that will return a unicode value. We have tested with values inside of the greek range and outside and still get the same error, <code>UnicodeDecodeError: 'ascii' codec cannot decode byte 0xc3 in position 0: ordinal not in range(128)</code></p>