with the new paragraph' text or to add text to the end of an existing paragraphyou can call the paragraph' add_run(method and pass it string enter the following into the interactive shellimport docx doc docx document(doc add_paragraph('hello world!'paraobj doc add_paragraph('this is second paragraph 'paraobj doc add_paragraph('this is yet another paragraph 'paraobj add_run(this text is being added to the second paragraph 'doc save('multipleparagraphs docx'the resulting document will look like figure - note that the text this text is being added to the second paragraph was added to the paragraph object in paraobj which was the second paragraph added to doc the add_paragraph(and add_run(functions return paragraph and run objectsrespectivelyto save you the trouble of extracting them as separate step keep in mind that as of python-docx version new paragraph objects can be added only to the end of the documentand new run objects can be added only to the end of paragraph object the save(method can be called again to save the additional changes you've made figure - the document with multiple paragraph and run objects added both add_paragraph(and add_run(accept an optional second argument that is string of the paragraph or run object' style here' an exampledoc add_paragraph('helloworld!''title'this line adds paragraph with the text helloworldin the title style working with pdf and word documents