I read in a docx document and appended each paragraph to a list as a string using this code:
from docx import Document
paragraphs = []
document = Document('/path to/*.docx')
for para in document.paragraphs:
para = para.text
paragraphs.append(para)
Instead reading in each paragraph I would like to read in the whole text as one string and append it to a list. How do I have to modify the code above?