Open this example in the interactive library
Source code
import unicodedata
print([unicodedata.category(char) for char in 'e\u0301'])Sample output
['Ll', 'Mn']

Open this example in the interactive library
import unicodedata
print([unicodedata.category(char) for char in 'e\u0301'])['Ll', 'Mn']