Answers for "python script to read word document"

1

open word document python

from docx import Document

document = Document()
document.save('test.docx')
Posted by: Guest on June-26-2020
0

open word from python

import os
os.startfile('C:\Path\To\file.docx')
Posted by: Guest on May-14-2020

Python Answers by Framework

Browse Popular Code Answers by Language