Is it possible to do something like this?
for i in range(1,8):
worksheet+i = gSheet.wks.get_worksheet(i)
presentations = getActivity(query, getDate(i))
exportToSheet(query, worksheet+i, presentations)
I need the counter to be concatenated with the work worksheet to form a new variable name every time it loops.
Currently giving me this error:
File "dagklapper.py", line 99
worksheet+i = gSheet.wks.get_worksheet(i)
SyntaxError: can't assign to operator