On Tue, 20 Oct 2009 17:56:21 +0000, George Trojan wrote: > Thanks for all suggestions. It took me a while to find out how to > configure my keyboard to be able to type the degree sign. I prefer to > stick with pure ASCII if possible. > Where are the literals (i.e. u'\N{DEGREE SIGN}') defined? I found > http://www.unicode.org/Public/5.1.0/ucd/UnicodeData.txt > Is that the place to look?
You can get them from the unicodedata module, e.g.: import unicodedata for i in xrange(0x10000): n = unicodedata.name(unichr(i),None) if n is not None: print i, n -- http://mail.python.org/mailman/listinfo/python-list