How do I use an emoji in Python?

In: Emojis for Developers

Python 3 strings are Unicode by default: s = "🎉" just works. To look up by name, use the unicodedata module: import unicodedata; unicodedata.lookup("PARTY POPPER"). The emoji package on PyPI handles detection, counting and shortcode conversion.

Read about How do I use an emoji in Python? in