iterative / iterative/PyDrive2
How do I write to specific tab?
- Vorherrschende Sprache
- Python
- Sterne
- 670
- Forks
- 75
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
@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()
```
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api, documentation
- Issue-Typ
- Dokumentation
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100