def write_embedded_list(data_list, save_path, sep=' '):
    """
    将一个嵌套的list写入文本中,一行写入一个list,list的元素使用sep连接
    :return:
    """
    with open(save_path, 'w') as w:
        if data_list is None or len(data_list) == 0:
            return
        for embedded_list in data_list:
            w.write(sep.join(embedded_list))
            w.write('\n')
