0

I have a python script that prints lines in a comma delimited format.

The output currently looks like this:

a,b,c,d
e,f,g,h
i,j,k,l 

I want to be able to take this output and append it to a Google spreadsheet. If using Excel is an easier route, I would be open to that solution too.

Is creating a CSV and then importing to a Google/Excel the right way to go or should I look into another way of doing this?

4

1 回答 1

0

你的问题很混乱。我认为您的意思是“打印”,如 Python 语句或函数(3+)中的“打印”,它为您的操作系统写入标准输出。

我建议你看看13.1.csv

本文档将允许您编写 CSV。

如果您想写入 Google Docs,则需要使用 Google drive API 或网络。

于 2013-06-21T20:11:30.227 回答