how to open word document file using python code example Example: open word from python import os os.startfile('C:\\Path\\To\\file.docx')