code: def list2csv(data_list, csv_filename='./list2csv.csv'):
  
      
      with open(csv_filename, "w") as csv_file:
          csv_writer = csv.writer(csv_file)
          for data in data_list:
              csv_writer.writerow(data)
      return csv_filename
docs: 将字典写入到指定的 csv 文件，并返回文件的长文件名；
  
      :param:
          * data_list: (list) 需要写入 csv 的数据字典
          * csv_filename: (string) csv 文件的长文件名
      :return:
          * csv_filename: (string) csv 文件的长文件名
  
      举例如下::
  
          from fishbase.fish_csv import *
  
          def test_list2csv():
              data_list = ['a', 'b', 'c']
              csv_file = list2csv(data_list)
              print(csv_file)
  
  
          if __name__ == '__main__':
              test_list2csv()