I have a question that is , how to read rows which have data ? Rows are empty i dont want to read them. Otherwise , i want to.
Here is my code:
from queue import Empty
import gspread
from oauth2client.service_account import ServiceAccountCredentials
scopes = [
'https://www.googleapis.com/auth/spreadsheets',
'https://www.googleapis.com/auth/drive'
]
cred = ServiceAccountCredentials.from_json_keyfile_name("C:/Users/dell/OneDrive - khang06/My-Workspace/Programming/CLB-Stem-TamPhu/EmailSender/my_key.json" , scopes=scopes)
file = gspread.authorize(cred)
workbook = file.open("Application_to_Tam_Phu_Stem_Club")
sheet = workbook.worksheet("Responses")
Hopefully , i can be helped. Thanks a lot