import win32com.client import datetime as dt import pandas as pd outlook = win32com.client.Dispatch(\'Outlook.Application\').GetNamespace(\'MAPI\') calendar = outlo