filmov
tv
How to print emojis using unicode in Python!
Показать описание
Everyone today do use emojis in one or the other ways on social media.
Being a programmer, have you ever thought to write code that would give emojis in output?
It would be really fun right!!!
You might think there will be big algorithm to print emojis😰🙄
But let me tell you ,it is not true,infact it is very easy to write code if you understand the emojis well.
There are multiple ways we can print the Emojis in Python. Let’s see how to print Emojis with Unicodes, CLDR names and emoji module.
Using Unicodes:
Every emoji has a Unicode associated with it. Emojis also have a CLDR short name, which can also be used.
From the list of unicodes, replace “+” with “000”. For example – “U+1F600” will become “U0001F600” and prefix the unicode with “\” and print it.
.
Like & Share The Post & Follow Us For More Such Amazing Content. 🔥🔥
For more information:
Call Us: +91 9811982309
Being a programmer, have you ever thought to write code that would give emojis in output?
It would be really fun right!!!
You might think there will be big algorithm to print emojis😰🙄
But let me tell you ,it is not true,infact it is very easy to write code if you understand the emojis well.
There are multiple ways we can print the Emojis in Python. Let’s see how to print Emojis with Unicodes, CLDR names and emoji module.
Using Unicodes:
Every emoji has a Unicode associated with it. Emojis also have a CLDR short name, which can also be used.
From the list of unicodes, replace “+” with “000”. For example – “U+1F600” will become “U0001F600” and prefix the unicode with “\” and print it.
.
Like & Share The Post & Follow Us For More Such Amazing Content. 🔥🔥
For more information:
Call Us: +91 9811982309