from docx import Document
doc = Document()
doc.add_paragraph('Hello World!')
doc.save('hello.docx')
from docx import Document
doc = Document('example.docx')
for para in doc.paragraphs:
print(para.text)
from docx import Document
doc = Document()
doc.add_paragraph('Hello World!')
doc.save('hello.docx')
from docx import Document
doc = Document('example.docx')
for para in doc.paragraphs:
print(para.text)