This script decodes emoji icons in an input file to emoji alias, e.g. 👍(\U0001F44D
) => :thumbs_up_sign:
.
demojize.py is cool! 👍👍👍
python demojize.py input.txt
demojize.py is cool! :thumbs_up_sign::thumbs_up_sign::thumbs_up_sign:
- Python 2.7+
- emoji (from pip)
python demojize.py /path/to/file
ls -1 /path/to/file_dir/ | xargs python demojize.py /path/to/file_dir/