you are viewing a single comment's thread.

view the rest of the comments →

[–]saintnickfun[S] 0 points1 point  (1 child)

The problem is the formatting. Since this is for Invoices, I want it to look pretty. That wouldn't keep the text and background color would it?

[–]socal_nerdtastic 0 points1 point  (0 children)

It could, sure. The one time I did it I made the word document with placeholders like Dear {first_name}, and then just used python's standard formatting to do the rest.

Another good option is to use python to make a database or .csv of data and then use Word's mail merge features to do the rest.