I am attempting to open Outlook using the following Python code:
import os
import win32com.client as win32
outlook = win32.Dispatch('Outlook.Application')
This does not work, but it doesn't throw an error either, which it does when I replace Outlook with a random word. I can't open any other Microsoft Office applications this way either. However, others (Adobe Illustrator, for example) will open just fine using this method.
Outlook and friends are definitely installed, and I can open Outlook using:
os.startfile('outlook')
Am I missing something that makes Office apps special with regard to the COM interface?