import unicodedata as u import re r = re.compile(r'\s', re.UNICODE) for i in range(0x10ffff): s = unichr(i) if r.search(s): print('{:02X} {}'.format(i, u.name(s, '')))
Standard input is empty
09 0A 0B 0C 0D 1C 1D 1E 1F 20 SPACE 85 A0 NO-BREAK SPACE 1680 OGHAM SPACE MARK 180E MONGOLIAN VOWEL SEPARATOR 2000 EN QUAD 2001 EM QUAD 2002 EN SPACE 2003 EM SPACE 2004 THREE-PER-EM SPACE 2005 FOUR-PER-EM SPACE 2006 SIX-PER-EM SPACE 2007 FIGURE SPACE 2008 PUNCTUATION SPACE 2009 THIN SPACE 200A HAIR SPACE 2028 LINE SEPARATOR 2029 PARAGRAPH SEPARATOR 202F NARROW NO-BREAK SPACE 205F MEDIUM MATHEMATICAL SPACE 3000 IDEOGRAPHIC SPACE