Skip to content

Instantly share code, notes, and snippets.

View pbcquoc's full-sized avatar

Pham Ba Cuong Quoc pbcquoc

View GitHub Profile
@pbcquoc
pbcquoc / is_emoji.py
Created October 12, 2017 09:14 — forked from jezdez/is_emoji.py
A Python script to check if a character is or a text contains emoji
# -*- encoding: utf-8 -*-
# pip install emoji
import emoji
def char_is_emoji(character):
return character in emoji.UNICODE_EMOJI