iterative / iterative/PyDrive2

How do I write to specific tab?

Aperta
#308 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
feature request
Lingua principale
Python
Stelle
670
Fork
75
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

@rlamy or anyone who can help.

I currently have CSV data that I can write to the first tab, but how can look over the sheets and write to each one? And can someone update the documentation about spreadsheets because there's no information about it.

```
google_file_ref = next(iter(drive.ListFile({'q':f"mimeType = 'application/vnd.google-apps.spreadsheet' and '{google_file_ref_id}' in parents and trashed=false",
'maxResults': 10,
'corpora': 'teamDrive',
'teamDriveId': drive_id,
'includeTeamDriveItems': True,
'supportsTeamDrives': True}).GetList()))
google_file_ref.SetContentString(response.content.decode('utf-8'))
google_file_ref.Upload()
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reviewing the spreadsheet-related behavior around SetContentString and Upload in the issue example, then determine how PyDrive2 exposes individual spreadsheet tabs. Document how to select and write to specific tabs, including handling multiple sheets; done means the spreadsheet documentation answers this use case clearly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
api, documentation
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.