What is the function of "use_aliases = True" in emoji.emojize?

0

I'm following a Python course and explained how to import libraries and such, and to use this library (as an example) was said to use this command

print(emoji.emojize('Python is :thumbsup:', use_aliases=True))

But I did not understand this part

use_aliases=True

What does this mean? What is it for and what is its purpose?

    
asked by anonymous 28.03.2018 / 19:23

1 answer

0

The parameter use_aliases, according to the documentation:

 use_aliases: (optional) Enable emoji aliases.  See ''emoji.UNICODE_EMOJI_ALIAS''.

It serves to increase the amount of emoticons besides these (official): link

Accepts these (additional): link

    
28.03.2018 / 21:53