Wednesday 27 December 2017

Starting with Python Docx

Python docx is a useful module that can be used to put things into word. I have previously worked with Oracle BI Publisher for many years and can say after a few months with Python-Docx that in most ways I already prefer it.

Again, this is really just a quick intro into python-docx as a starting point for a series of posts on what you can actually do and how to do it.

Installing:

Pip or conda install python-docx

Using Python-Docx


Well see some of the real basics in the code below, however I am going to work up 2 a couple of projects. The first creating a CV using SQL Server and python-docx and the second creating a monthly management report using python-docx (and sql server). 

The code:


No comments:

Post a Comment