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