Skip to content

Instantly share code, notes, and snippets.

@elseagle
Last active August 14, 2022 23:17
Show Gist options
  • Save elseagle/f7054d87d622ec35fa05cfbfcd7b91d3 to your computer and use it in GitHub Desktop.
Save elseagle/f7054d87d622ec35fa05cfbfcd7b91d3 to your computer and use it in GitHub Desktop.
# get worksheet by index
worksheet = sh.get_worksheet(0)
# get worksheet by title
worksheet = sh.worksheet("tab title")
# get sheet by sheet1
worksheet = sh.sheet1
# get all worksheets
worksheet_list = sh.worksheets()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment