def save_hashes(hashes, filename):
    with open(filename, 'w') as cython_hash_file:
        for key, value in hashes.items():
            cython_hash_file.write("%s %s %s %s\n"
                                   % (key, value[0], value[1], value[2]))
Save the hashes dict to the hashfile
dataset/ETHPy150Open jakevdp/cython_template/tools/cythonize.py/save_hashes