def save_file(msl_data_path, filename, content):
"""
Saves the given content under given filename
:param filename: The filename
:param content: The content of the file
"""
file_handle = xbmcvfs.File(
filepath=msl_data_path + filename,
mode='w')
file_content = file_handle.write(content)
file_handle.close()
评论列表
文章目录