code: def get_worksheet(gc, gfile_id, wks_name, write_access=False, new_sheet_dimensions=(1000, 100)):
      
  
      spsh = gc.open_by_key(gfile_id)
  
      # if worksheet name is not provided , take first worksheet
      if wks_name is None:
          wks = spsh.sheet1
      # if worksheet name provided and exist in given spreadsheet
      else:
          try:
              wks = spsh.worksheet(wks_name)
          except:
              #rows, cols = new_sheet_dimensions
              wks = spsh.add_worksheet(
                  wks_name, *new_sheet_dimensions) if write_access == True else None
  
      return wks
docs: DOCS...