Write a CSV to store in Google Cloud Storage

后端 未结 2 1020
走了就别回头了
走了就别回头了 2020-12-12 03:43

Background: I\'m taking data in my Python/AppEngine project and creating a .tsv file so that I can create charts with d3.js. Right now I\'m writing the CSV with each page l

2条回答
  •  南方客
    南方客 (楼主)
    2020-12-12 04:25

    The problem is that writer.writerow doesn't return anything. The return type will be None, and you are trying to write that into gcs_file.

提交回复
热议问题