filmov
tv
How to Create Multiple Word/DocX files from 1 template with graphs made from CSV data | Python Code

Показать описание
CSV data is used, with each row supplying the data for 1 graph, made using matplotlib and Python code.
The graphs are then saved as png files and 1 new DOCX file is made PER graph, based on a Word/DOCX template.
★ code reads rows in csv*
★ code generates graphs
★ code saves graphs
► user makes docx template (once only)
► user checks graphs and moves into 'images' folder
★ code generates new docx file / inserts graph ( *once per row of csv)
see the results at 20:19
#python #automation #csv
If this is of interest as a user or as a coder then have a watch - I've endeavoured to explain the usage and the code. All comments, suggestions will be welcome.
This is not intended as a tutorial but you will see explanations of the code, and its usage.
My code is on GitHub and feel free to use/modify as you see fit.
Some of the items involved with this code are:
.csv files ✔
graphs (saved as .png) ✔
.docx files ✔
word/docx templates ✔
The file paths need to be adhered to, as I have yet to add error checking and/or folder creation.
Run these files in this order :
Thankyou for viewing.
The graphs are then saved as png files and 1 new DOCX file is made PER graph, based on a Word/DOCX template.
★ code reads rows in csv*
★ code generates graphs
★ code saves graphs
► user makes docx template (once only)
► user checks graphs and moves into 'images' folder
★ code generates new docx file / inserts graph ( *once per row of csv)
see the results at 20:19
#python #automation #csv
If this is of interest as a user or as a coder then have a watch - I've endeavoured to explain the usage and the code. All comments, suggestions will be welcome.
This is not intended as a tutorial but you will see explanations of the code, and its usage.
My code is on GitHub and feel free to use/modify as you see fit.
Some of the items involved with this code are:
.csv files ✔
graphs (saved as .png) ✔
.docx files ✔
word/docx templates ✔
The file paths need to be adhered to, as I have yet to add error checking and/or folder creation.
Run these files in this order :
Thankyou for viewing.
How to Split a Word Document into Multiple Documents
How to Split a Word Document into Multiple Documents | Split Word Document | Split Word File |#Word
How To Create A Duplicate Document In Word
Split Word Document into Multiple Files #msword
Convert Paragraph to Columns in Microsoft Word
Split a Mail Merged document into SEPARATE documents with custom file names [No Coding]
How To Combine Multiple Word Documents into One Document or PDF Free Using MS Word
How to Duplicate a Word Document (2025)
UiPath Document Understanding Portal UI Explained | UiPathRPA
How to have both paragraph and two columns in a single document in Microsoft Word
How to Auto-Populate a Word Document with Repeated Text or Fields- Where is the Repeat Field Button?
How to Combine Multiple Word Files into one document | How to Merge Word Documents
Insert Horizontal Separator Lines in Word
How to Add Pages in Microsoft Word.#shorts
Bullets Shortcut in MS Word | Adding Bullets Automatically
Insert Page Break in MS Word Document | JCC Tangi
How to Create a Text Box in Microsoft Word? #shorts
MS Word: Copy styles from one document to another ✅ 1 MINUTE
How to Auto Insert Line in MS Word | Jan Composing Centre
How to open word document in edit mode instead of read only? | Word 365
MS-Word Trick: How to Automatically Shrink a Word Document By One Page.
Trick to apply styles and formatting of one document to other Ms Word document in one go
Remove Extra Spacing in MS Word by Kerning Settings #shorts
How to Compare Two Versions of a Document in Word | Track Changes Document by Comparing Two Files
Комментарии