表情符解析库emoji

1
2
3
4
5
6
7
import emoji

result1 = emoji.emojize('it is :grinning_face:')
print(result1)

result2 = emoji.demojize('😀')
print(result2)

0%