Skip to content

Tag: emoji

Translate to text a Emoji Unicode String un python

I have a list of tweets that has been delivered as a csv. But when I read them, the emojis unicode has been converted as str and I can’t translate them to their real name (“waffle” or “heart”). Answer Try it with demoji . You can get more details about demoji at here. code result…

How to print red heart in python 3

I need to print the red heart emoji ❤️️ with unicode in Python 3 but it has two unicodes (U00002764 and U0000FE0F). How am I suppose to print it? For example, a green heart is print(“U0001F49A”) Answer Whether it “works” depends on the font you have and which glyphs it supports. Here&#…