Python Emoji Codes: Comprehensive Documentation

Emojis are graphical representations used to express emotions, ideas, or concepts in various forms of communication. Python, being a versatile programming language, allows the integration of emojis in code using Unicode characters. This documentation aims to provide a comprehensive list of emoji codes that can be used in Python.

In Python, emojis are represented using their Unicode values. The general format for representing an emoji in Python is '\U000', where is the hexadecimal value of the emoji.

Emojis can be categorized into various groups based on their meaning or usage. The following sections provide an overview of different emoji categories and the corresponding emoji codes.

Faces and Emotions:

  • Grinning Face: '\U0001F600'
  • Grinning Face with Big Eyes: '\U0001F603'
  • Grinning Face with Smiling Eyes: '\U0001F604'
  • Beaming Face with Smiling Eyes: '\U0001F601'
  • Grinning Squinting Face: '\U0001F606'
  • Grinning Face with Sweat: '\U0001F605'
  • Rolling on the Floor Laughing: '\U0001F923'
  • Face with Tears of Joy: '\U0001F602'
  • Slightly Smiling Face: '\U0001F642'
  • Upside-Down Face: '\U0001F643'

(Note: This is just a sample of faces and emotions emojis. There are numerous other options available.)

Animals and Nature:

  • Dog Face: '\U0001F436'
  • Cat Face: '\U0001F431'
  • Elephant: '\U0001F418'
  • Penguin: '\U0001F427'
  • Frog Face: '\U0001F438'
  • Honeybee: '\U0001F41D'
  • Lady Beetle: '\U0001F41E'
  • Butterfly: '\U0001F98B'
  • Bird: '\U0001F426'
  • Tropical Fish: '\U0001F420'

(Note: This is just a sample of animal and nature emojis. There are numerous other options available.)

Objects and Symbols:

  • Computer: '\U0001F4BB'
  • Keyboard: '\U00002328'
  • Wrench: '\U0001F527'
  • Watch: '\U0000231A'
  • Camera: '\U0001F4F7'
  • Light Bulb: '\U0001F4A1'
  • Money Bag: '\U0001F4B0'
  • Package: '\U0001F4E6'
  • Umbrella: '\U00002614'
  • Hammer: '\U0001F528'

(Note: This is just a sample of object and symbol emojis. There are numerous other options available.)

To use emojis in your Python code, follow these steps:

Import the emoji module:

import emoji

Print an emoji:


Output: 😀

Utilize emojis in strings:

message = "I am feeling " + emoji.emojize('\U0001F600')

Output: I am feeling 😀

Use emojis as variables:

smiley = emoji.emojize('\U0001F600')
message = "I am feeling " + smiley

Output: I am feeling 😀

Overall, Emojis bring an expressive touch to Python programming. With the help of Unicode characters and the emoji module, you can integrate emojis into your code effortlessly. This documentation provided an overview of various emoji categories and their corresponding codes, along with instructions on how to use emojis in Python. Feel free to explore more emoji options and get creative with your code!

Face Expression Emoji Printer using python print()

The Emoji Face Expression Printer is a Python project that utilizes Unicode escape sequences to display various facial expressions as emojis in the terminal. The project showcases a collection of five different face emojis, each representing a unique emotion. By running the Python code, users can see these expressive emojis printed on the terminal screen.

The project leverages Python's print() function to output Unicode escape sequences, which are special character sequences that represent emojis. These sequences, such as \U0001F602, \U0001F92A, \U0001F92B, \U0001F605, and \U0001F60D, correspond to specific face emojis with distinct emotions.

The print() function is used to display each emoji individually. When executed, the Python code sends the Unicode escape sequence to the terminal, which then interprets it as the corresponding emoji character and renders it on the screen. The result is the appearance of colorful and expressive face emojis.


The Emoji Face Expression Printer project provides a fun and interactive way to display various facial expressions using emojis in the terminal. By simply running the Python code, users can see a range of emotions, from laughter and excitement to surprise and love, represented by the printed emojis. This project can be a great addition to applications, scripts, or any Python-based projects that require visual representation of emotions through emojis.

You can watch the video below: