iterative / iterative/PyDrive2

How do I write to specific tab?

Open
#308 1 comment 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Python
Stars
670
Forks
75
PR merge metrics
No merged PRs in 30d

Description

@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()
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.