I just wanna read the next tab/sheet via the API in my Google Sheets Project with Python (Windows 10) Everything works for sheet1, I just want to read/edit sheet2 (and others that I will create in the project).
Tab example: https://i.sstatic.net/d4Ee9.jpg
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']
creds = ServiceAccountCredentials.from_json_keyfile_name('client_penny.json', scope)
client = gspread.authorize(creds)
penny = client.open('pennystocks').sheet1
print(penny.get_all_records())
This works: penny = client.open('pennystocks').sheet1
This doesn't: penny = client.open('pennystocks').sheet2