Hi sir. Thanks for this. I have a question. Do you know how to make it possible to choose different excel file everytime I want to automate the word document? I want to use the same docs template, but with different excel files.
Excellent!!! Many thanks! Instead of generating one doc for each row, it is possible to generate each letter as a page of the same document? I would like to apply this not for generating letters, but for generating, for example, bibliographic references.
Thanks for the tutorial, it's very helpful. One question how could I modify the code so that the name of newly generated document was generated_doc_{first_name}_{last_name}.docx instead of generated_doc_{index}.docx ? Knowing that context = {'first_name': row['first'], 'last_name': row['last']}
Fantastic tutorial, it really helped me out! I have a small question though, I'm trying to add text to a text box. How can I align the string from python in the middle? I tried changing the textbox settings in word but python ignores this and aligns bottom
excellent tutorial... I wanted to create an exe but the 'docxtpl' module is giving me problems *ModuleNotFoundError: No module named 'docxtpl'*executable ? can U give me some explanation? tks
Thank you for this awesome tutorial, using Jinja in Flask recently was fascinating and now knowing you can use it with word documents will surely be time saving. I have one question is it possible to fill each template within the same file but different pages ?
I haven’t tried but I’m pretty sure you can do it. Check the “Google Sheets with Python” video in the channel. The idea would be the same after you extract the data from Google Sheets
Hey, I am a real estate broker. who has to make a lot of reports on houses. I am looking for a way how I can take pictures directly from my iphone and put them into word with the same format and also add text. without having to transfer the pictures from my computer. I want to take these pictures directly from my iphone and import them into word + add the text. And later I want to edit this word document on my computer. Would this work on iphone?