Answers for "import emoji"

1

import emoji

import emoji

def extract_emojis(s):  #s is string line
  return ''.join(c for c in s if c in emoji.UNICODE_EMOJI)
Posted by: Guest on June-04-2021

Browse Popular Code Answers by Language