python open a microsoft word doc code example Example: open word from python import os os.startfile('C:\\Path\\To\\file.docx')