how to open wordt document with python code example
Example 1: open word from python
import os
os.startfile('C:\\Path\\To\\file.docx')
Example 2: open word document python
from docx import Document
document = Document()
document.save('test.docx')