次のタグが付いている新しい回答: google-spreadsheet
1
次のサイトがよくまとまっています。
gspreadライブラリの使い方まとめ!Pythonでスプレッドシートを操作する | たぬハック
特定のシートのみをcsvへエクスポートしたいという処理だと、下記のような感じになります。
workbookをスプレッドシートキーで指定しています。
自分の環境に合わせて、お使いください。
SPREAD_SHEET_KEY=''
CSV_FILENAME = "./test.csv"
SHEET_NAME='シート1'
import gspread
import json
import csv
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https:/...
上位 50 件の最近の回答が含まれています
関連するタグ
google-spreadsheet × 55google-apps-script × 26
python × 8
javascript × 7
google-api × 5
html × 3
excel × 3
android × 2
vba × 2
csv × 2
gmail × 2
google-colaboratory × 2
google-sites × 2
php × 1
python3 × 1
node.js × 1
api × 1
spresense × 1
github × 1
firebase × 1
google-chrome × 1
pip × 1
xpath × 1
url × 1
jdbc × 1