fork download
  1. import unicodedata as u
  2. import re
  3.  
  4. r = re.compile(r'\s')
  5. for i in range(0x10ffff + 1):
  6. s = chr(i)
  7. if r.search(s):
  8. print('{:02X} {}'.format(i, u.name(s, '')))
  9.  
Success #stdin #stdout 0.45s 9800KB
stdin
Standard input is empty
stdout
09 
0A 
0B 
0C 
0D 
1C 
1D 
1E 
1F 
20 SPACE
85 
A0 NO-BREAK SPACE
1680 OGHAM SPACE MARK
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