The Windows command prompt has a lot of limitations with regards to Unicode characters, especially those outside the basic multilingual plane(BMP, or U+0000 to U+FFFF). The command prompt defaults to a legacy OEM encoding (cp437 on US Windows) and has limited font support for characters outside the localized encoding. Find a Python IDE that has good support for UTF-8.
One quick-and-dirty way to see a wide variety of Unicode characters is to write to a file and leverage the browser:
import os
with open('test.htm','w',encoding='utf-8-sig') as f:
f.write('\U0001f44d')
os.startfile('test.htm')
This displays
in the latest Chrome browser on my Windows 10 system.
The Windows command prompt has a lot of limitations with regards to Unicode characters, especially those outside the basic multilingual plane(BMP, or U+0000 to U+FFFF). The command prompt defaults to a legacy OEM encoding (cp437 on US Windows) and has limited font support for characters outside the localized encoding. Find a Python IDE that has good support for UTF-8.
One quick-and-dirty way to see a wide variety of Unicode characters is to write to a file and leverage the browser:
import os
with open('test.htm','w',encoding='utf-8-sig') as f:
f.write('\U0001f44d')
os.startfile('test.htm')
This displays
in the latest Chrome browser on my Windows 10 system.
First install emoji module --- pip install emoji
import emoji
print(emoji.emojize('Python is :thumbs_up:'))
This code is working in Anaconda Jupyter environment...

You can insert Emoji using `\N{NAME_OF_EMOJI}`
Inserting an emoji - Python - Code with Mosh Forum
Not working correctly under Windows 10 with Python 3
Emoji's in Python???
It's a new feature in Windows 10. You can access the emoji keyboard shortcut using the keys: "Windows key + ." or, "Windows key + >"
The "." is the period or, the full stop key, not the point or the decimal key.
In windows 10 you can use windows key + .(dot) or windows key + ;
I recently discovered that I can store an emoji as a variable and respectively use that.
E.G fruits = ['π', 'π', 'π', 'π', 'π', 'π', 'π']
When I looked it up it said I have to download an emoji package but I never did this. So why can these be taken in as a character?

