A
A
andriy71122019-01-31 01:05:26
Python
andriy7112, 2019-01-31 01:05:26

How to get all list of sheets in google spreadsheet in python?

We have a table with 100 sheets (Sheet1, Sheet2, Sheet3 ...). How to get a vertical list of all sheets in Python and is it possible to do it through the gspread library? Sheet1
Sheet2
Sheet3 ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vadim Shatalov, 2019-01-31
@andriy7112

https://gspread.readthedocs.io/en/latest/user-guid...
To get a list of all worksheets:
worksheet_list = sh.worksheets()

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question