Skip to content

Instantly share code, notes, and snippets.

View TriMill's full-sized avatar

trimill TriMill

View GitHub Profile
@TriMill
TriMill / gen-unicode-list.py
Created February 28, 2020 00:04
List of all (non-control) Unicode characters with codepoint and Unicode descriptor (as given by python module "unicodedata").
#!/usr/bin/python
import unicodedata
import math
MIN_CHAR=0x20
MAX_CHAR=0x100000
PROGRESS=0x8000
print("|%s|" % ("*"*math.ceil((MAX_CHAR-MIN_CHAR) / PROGRESS)))