python-docxEasy Playground

Create and modify Word .docx files

Getting started with python-docxRun locally
Install
pip install python-docx
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: python_docx)

python-docx is a third-party package. Create and modify Word .docx files. Install with: pip install python-docx

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?