by shigemk2

当面は技術的なことしか書かない

Python emoji

素のPythonじゃsyntax errorになるから

>> import emoji
>> print(emoji.emojize('Python is :thumbs_up:'))
Python is 👍
>> print(emoji.emojize('Python is :thumbsup:', use_aliases=True))
Python is 👍
>> print(emoji.demojize('Python is 👍'))
Python is :thumbs_up:

emoji · PyPI