📅  最后修改于: 2022-03-11 14:46:14.743000             🧑  作者: Mango
def save_to_file(content, filename):
with open(filename, 'w') as file:
file.write(content)
import file_operations
file_operations.save_to_file('my_content', 'data.txt')