def autohint_ttfs(folder_ttfs, folder_ttfs_autohint):
    """
    Run ``ttfautohint`` on all .ttf fonts in a given folder, and save them 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_)
            ttf_path_autohint = os.path.join(folder_ttfs_autohint, file_name % '%s.ttf')
            autohint_ttf(ttf_path, ttf_path_autohint)

#-----------
# EOT tools
#-----------
dataset/ETHPy150Open gferreira/hTools2/Lib/hTools2/modules/webfonts.py/autohint_ttfs/swapped operands of `%`