Create and edit Word documents (.docx) in Python with python-docx library.
WHEN: Creating .docx files, editing Word documents, working with tracked changes, adding comments, preserving formatting, extracting text from Word files.
WHEN NOT: PDF files (use python-pdf), Excel/spreadsheets (use python-xlsx), plain text files.