Embed your own Emojis in Python... #19
Unanswered
ROBOMASTER-S1
asked this question in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here are 90 emojis you can use within your Python programs.
Please note: these were not easy to create. The emojis can't
be copied into a list as easy as ordinary Python lists. If
you add any of your own, make sure you don't make any mistakes.
Python's undo button and or ctrl+z does not work; you have
to keep undoing the mistake or the ones you don't want in the
list, and emojis you add to the Python list. As I said, these
weren't easy to create at all. I think 90 emojis is more than
a great start. Don't you?
Save the file as Emojis and then double click the Python file's
icon to see the emojis in colour as shown in the Python program
example. Please note: These emojis in the actual Python idle are
green and outlined, not coloured as shown on this YouTube
community page.
emojis_list = [
'😀','😄','😁','😆','😅','🤣','😂','🙂','🙃','😉',
'😊','😇','🥰','😍','🤩','😘','😗','😚','🥲','😋',
'😛','😜','🤪','😝','🤑','🤗','🤭','🤫','🤔','🤐',
'🤨','😐','😑','😶','😶🌫','😏','😒','🙄','😬','😮💨',
'🤥','😌','😔','😪','🤤','😴','😷','🤒','🤕','🤢',
'🤧','🥵','🥶','🥴','😵','😵💫','🤯','🤠','🥳','🥸',
'😎','🤓','🧐','😕','😟','🙁','😮','😯','😲','😳',
'🥺','😦','😧','😨','😰','😥','😢','😭','😱','😖',
'😣','😞','😓','😩','😫','🥱','😤','😡','😠','🤬']
print(emojis_list[2])
input('Press Enter to exit the program.')
Beta Was this translation helpful? Give feedback.
All reactions