AnalyseMorphologique/utils/files/output.py

14 lines
325 B
Python

"""
This module is used to manage the output files of the program.
"""
def save_output_file(output_file:str, content:str):
"""
Save the output file.
:param output_file: Path to the output file
:param content: Content of the output file
"""
with open(output_file, 'w') as f:
f.write(content)