---
title: "Discussion on \"Printing emojis😏🎉😛😛😝 in python 🐍🐍\" | Hashnode"
description: "Discussion on \"Printing emojis😏🎉😛😛😝 in python 🐍🐍\". Have you ever thought of inserting emojis into your python program? Well, if you haven't, you should start thinking of inserting one into some of your mini projects to make it fun😜.\nEmojis are now everywhere, even in programming now.\nIn python now, ..."
url: "https://hashnode.com/posts/printing-emojis-in-python/61bbf84a6916c3593a6affbf"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Printing emojis😏🎉😛😛😝 in python 🐍🐍](https://jhohannes.hashnode.dev/printing-emojis-in-python?utm_source=hashnode&utm_medium=feed)

Have you ever thought of inserting emojis into your python program? Well, if you haven't, you should start thinking of inserting one into some of your mini projects to make it fun😜. Emojis are now everywhere, even in programming now. In python now, ...

Dec 17, 2021 · 2 min read · jhohannes.hashnode.dev  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#python3](https://hashnode.com/tag/python3)
-   [#python-beginner](https://hashnode.com/tag/python-beginner)

## Written by

[Kelvin John Domeh](https://hashnode.com/@Jhohannes)

@Jhohannes · Accra, GH

  
[View profile](https://hashnode.com/@Jhohannes)

Self-taught Software engineer

Passionately curious about Software engineering. 👌 I spend time exploring new technologies and improving upon the ones I know. When I'm not studying for university, you'll find me building side projects that challenge me to learn and grow as a Tech Enthusiast. Join me as I share my journey and discoveries in the tech world.

## Responses 1

Markdown supported · ⌘↵ to post

[Sandeep](https://hashnode.com/@sandeepx21)

[Dec 17, 2021](https://hashnode.com/posts/printing-emojis-in-python/61bbf84a6916c3593a6affbf/comment/61bc196c6916c3593a6b0160)

Hey, I didn't know python can do that

But, I am getting error when executing above code in python idle.

Error:

""" Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> print("\\U0001f602") UnicodeEncodeError: 'UCS-2' codec can't encode character '\\U0001f602' in position 0: Non-BMP character not supported in Tk """

Do you know the reason behind this error?

[Sandeep](https://hashnode.com/@sandeepx21)

[Dec 18, 2021](https://hashnode.com/posts/printing-emojis-in-python/61bbf84a6916c3593a6affbf/comment/61bc196c6916c3593a6b0160#reply-61bd6d4f6916c3593a6b1711)

[Kelvin John Domeh](https://hashnode.com/@Jhohannes) Thanks i will try the emoji module :)

I think you forgot to include the solution link?

[Sandeep](https://hashnode.com/@sandeepx21)

[Dec 18, 2021](https://hashnode.com/posts/printing-emojis-in-python/61bbf84a6916c3593a6affbf/comment/61bc196c6916c3593a6b0160#reply-61bd70c4ef666c58886e9c0b)

[Kelvin John Domeh](https://hashnode.com/@Jhohannes)

UPDATE:

emoji module worked (no color though, only black and white image)

the commands print("\\U0001F600") also working now!!

I think maybe earlier some module was missing that come bundled with emoji module?

[Kelvin John Domeh](https://hashnode.com/@Jhohannes)

[Dec 27, 2021](https://hashnode.com/posts/printing-emojis-in-python/61bbf84a6916c3593a6affbf/comment/61bc196c6916c3593a6b0160#reply-61ca233c5fc5da184732803f)

[Sandeep](https://hashnode.com/@sandeepx21) [stackoverflow.com/questions/32442608/ucs-2-codec-…](https://stackoverflow.com/questions/32442608/ucs-2-codec-cant-encode-characters-in-position-1050-1050)
