File size: 165 Bytes
9b45841
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from docx import Document


def read_docx(path):
    doc = Document(path)

    return "\n".join(
        paragraph.text for paragraph in doc.paragraphs
    )