Skip to content
Advertisement

Tag: encode

Emoji converter

How can I convert this string in python3 ‘👀🥶’ into this ‘%F0%9F%91%80%F0%9F%A5%B6’ ? Would like to do this with any emojis Answer If percentage encoding is what you are after, urllib module in Python could help. Ref: https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote Python 3: Returns

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 More For more, if you

Advertisement