Automate Microsoft Office with Python - Mil-OSS
Automate Microsoft Office with Python - Mil-OSS
Automate Microsoft Office with Python - Mil-OSS
- No tags were found...
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Outlook Automation• Developed Dialer Application• Needed contact info from Outlookimport win32com.clientoutlook_app = win32com.client.gencache.EnsureDispatch("Outlook.Application")mapi = outlook_app.GetNamespace("MAPI")contacts = mapi.GetDefaultFolder(win32com.client.constants.olFolderContacts)print ‘number of contacts=‘, len(contacts.Items)for index in range(len(contacts.Items)):contact = contacts.Items.Item(index + 1)GTRI_B-‹#›