unicode character '\N{ }'
Just
just at xs4all.nl
Mon Apr 11 05:30:25 EDT 2005
In article <d3df9u$nml$1 at news.kreonet.re.kr>,
Daewon YOON <dwyoon at purunSPAMinfo.co.kr> 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
More information about the Python-list
mailing list