def create_list(image_path):
    unicode_characters = {}

    for f in os.listdir(image_path):
        name = os.path.splitext(f)[0]

        path = os.path.join(image_path, f)
        if os.path.islink(path) and not name in BLACKLIST:
            full_path = os.path.realpath(path)
            character = os.path.splitext(
                os.path.basename(full_path)
            )[0]

            for codepoint in _convert_to_unicode(character):
                unicode_characters[codepoint] = name

    return unicode_characters
dataset/ETHPy150Open gaqzi/django-emoji/bin/generate-unicode-aliases.py/create_list/original