Itterating over both headers and columns, Word file templater

Goodmorning,

Using the word file templater it is really easy to generate table rows or headers using a jinja predefined word template in combination with a list of dicts within the app in python. Is it however possible to itterate over both columns and headers at the same time. I have a varying length of headers and columns every time. I hope someone could help me out on this.

succeeded with the jinja github templates!


3 Likes

Hi Sven,

Thanks for asking this question and also sharing your solution.