def generate_eots(folder_ttfs, folder_eots):
    """
    Make .eot font files from all .ttf fonts in a given folder. Save the generated fonts in another folder.

    """
    for file_ in os.listdir(folder_ttfs):
        file_name, extension = os.path.splitext(file_)
        if extension == '.ttf':
            ttf_path = os.path.join(folder_ttfs, file_)
            eot_path = os.path.join(folder_ttfs, '%s.eot' % file_name)
            generate_eot(ttf_path, eot_path)

#-----------
# SVG tools
#-----------
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/webfonts.py/generate_eots/original