def is_printable(char):
    if PYTHON2:
        return not unicodedata.category(char).startswith('C')
    else:
        return char.isprintable()
str.isprintable() is new in Python 3. It's useful in `explain_unicode`, so
dataset/ETHPy150Open LuminosoInsight/python-ftfy/ftfy/compatibility.py/is_printable