In article <[EMAIL PROTECTED]>,
 Daewon YOON <[EMAIL PROTECTED]> wrote:

> I learned from http://www.jorendorff.com/articles/unicode/python.html that
> one can specify a unicode character by u'\N {name of the character}'.
> 
> Is there any method that I do the reverse of this process? For example,
> when
> I have a unicode character '£', uc.method() should return the character name
> 'POUND SIGN' in str format.

  import unicodedata
  name = unicodedata.name(c)

Just
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to