def load_file(msl_data_path, filename):
"""
Loads the content of a given filename
:param filename: The file to load
:return: The content of the file
"""
file_handle = xbmcvfs.File(
filepath=msl_data_path + filename)
file_content = file_handle.read()
file_handle.close()
return file_content
评论列表
文章目录