python-docx
Package — DocumentsPython 3.7+Intermediate
Create and modify Word .docx files
Quick Info
- Documentation
- Official Docs
- Python Version
- 3.7+
- Dependencies
- lxml, typing-extensions
- Install
pip install python-docx
Learn by Difficulty
Quick Example
python
# Install: pip install python-docx import python_docx # Basic python-docx usage print(f"Using python-docx") # See documentation for detailed examples
python-docx is a third-party package. Create and modify Word .docx files. Install with: pip install python-docx
Try in PlaygroundTags
packagedocumentsworddocxfile-format
Related Items
openpyxl
Package — Documents
Read and write Excel .xlsx files with formulas and formatting
python-pptx
Package — Documents
Create and modify PowerPoint .pptx presentations
pypdf
Package — Documents
Read, merge, split, extract text from PDFs
reportlab
Package — Documents
Create PDF documents: text, tables, charts, images