 import datetime import pickle import os.path from googleapiclient.discovery import build from google_auth_oauthlib.flow import InstalledAppFlow from google.auth.transport.requests import Request  SCOPES = ['https://www.googleapis.com/auth/calendar']  