Hoe gebruik ik een emoji in Python?
Python 3-strings zijn standaard Unicode: s = "🎉" werkt gewoon. Om op naam te zoeken, gebruik je de unicodedata module: import unicodedata; unicodedata.lookup("PARTY POPPER"). De emoji package op PyPI behandelt detectie, telling en shortcode-conversie.