Например
CODE:
[/code][code]
__python_sync
sheet_metadata = service.spreadsheets().get(spreadsheetId=ssid).execute()
properties = sheet_metadata.get("sheets")
for item in properties:
[4пробела]if item.get("properties").get("Log") == "SHEET_TITILE":
[8пробелов]sheet_id = (item.get("properties").get("sheetId"))
print (sheet_id)
__end_python
__python_sync
sheet_metadata = service.spreadsheets().get(spreadsheetId=ssid).execute()
properties = sheet_metadata.get("sheets")
for item in properties:
[4пробела]if item.get("properties").get("Log") == "SHEET_TITILE":
[8пробелов]sheet_id = (item.get("properties").get("sheetId"))
print (sheet_id)
__end_python
синтаксическая ошибка, даже просто когда нету фора.