Top "Python-docx" questions

A python library to create, read and write Microsoft Office Word 2007 docx files.

Python-docx - How to change table font size?

table = document.add_table(rows=1, cols=1) hdr_cells = table.rows[0].cells hdr_cells[0].text = 'Qty' I have to change font …

python-2.7 python-docx
How do I apply both bold and italics in python-docx?

I'm working on making a dictionary. I'm using python-docx to put it into MS Word. I can easily make it …

python docx python-docx
how to create a dataframe from a table in a word document (.docx) file using pandas

I have a word file (.docx) with table of data, I am trying to create a pandas data frame using …

python pandas dataframe docx python-docx
python-docx: 'package not found'

I have a doc.docx file at '/var/code/oa'. I need to read it use python-docx. I write …

python python-docx
Python docx library text align

I am using python docx library to manipulate a word document. However I can't find how to align a line …

python ms-word docx python-docx
How to iterate over everything in a python-docx document?

I am using python-docx to convert a Word docx to a custom HTML equivalent. The document that I need to …

python python-docx
Write text in particular font color in MS word using python-docx

I am trying to write text in an MS Word file using python library python-docx. I have gone through the …

python python-docx
Python Docx Carriage Return

Python Docx is a pretty good library for generating Microsoft Word documents for something that doesn't directly deal with all …

python python-docx
python-docx insertion point

I am not sure if I've been missing anything obvious, but I have not found anything documented about how one …

python-3.x insertion cursor-position python-docx
Modify docx page margins with python-docx

I need to quickly change the margins of many docx documents. I checked python-docx and I do not find a …

python python-docx