Skip to the content.

Python Tricks • 1 min read

Description

Emoji Print

How to print an emoji:


pip; install; emoji
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: emoji in /home/aidandelgado/.local/lib/python3.10/site-packages (2.8.0)
Note: you may need to restart the kernel to use updated packages.
from emoji import emojize 
print(emojize("Python is cool! :grinning_face:"))
Python is cool! 😀