How to Automate Word Documents Using Python

Поделиться
HTML-код
  • Опубликовано: 4 янв 2025

Комментарии • 36

  • @tiagoandreotti
    @tiagoandreotti 2 года назад +2

    Frank, thank you for this video. It was very helpful!

  • @crystalcleargirl07
    @crystalcleargirl07 10 месяцев назад

    🎉 wow, this is so helpful! thank you for making this video tutorial!

  • @bas8049
    @bas8049 2 года назад +1

    Nice video, well explained!

  • @tecnofest7683
    @tecnofest7683 5 месяцев назад

    Good Job! Thanks 🚀

  • @adrianmerc_c
    @adrianmerc_c 2 года назад +1

    Excelente video, Muchas gracias Frank, me va a servir de mucho

    • @ThePyCoach
      @ThePyCoach  2 года назад +1

      Me gusta como mis videos en ingles tienen algunos comentarios en español y mis videos de mi canal en español tienen algunos comentarios en ingles 😂

  • @md.masumomarjashim
    @md.masumomarjashim 2 года назад +2

    This is awesome

  • @rodfreitas1935
    @rodfreitas1935 Год назад

    Excellent video! Tks for this

  • @maxcohen13
    @maxcohen13 2 года назад

    Excellent work. Thanks!

  • @gaben_aTan
    @gaben_aTan Год назад

    Perfect method! and how to make one word document from several when iterating?

  • @joseluisgalancabilla8792
    @joseluisgalancabilla8792 Год назад

    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.

  • @afreenaamran3279
    @afreenaamran3279 2 года назад +2

    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.

  • @eerd2449
    @eerd2449 6 месяцев назад

    which tool you using to creat the pyton script?

  • @bluemonk9480
    @bluemonk9480 Год назад +2

    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

    • @reftop5065
      @reftop5065 4 месяца назад

      Hey
      Did you find any solutions?

  • @utube11235
    @utube11235 Год назад

    Thank you for the great video! One query: Is it possible to update the status of checkboxes? If so, how?

  • @ninatyminska3436
    @ninatyminska3436 Год назад

    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']}

  • @lucasferreira8229
    @lucasferreira8229 2 года назад

    Do I need frameworks to automate?

  • @sowmiya94
    @sowmiya94 9 месяцев назад

    how to update table of content dynamically

  • @siconova
    @siconova 2 года назад +1

    It's there something similar but for sheets and docs from Google?

    • @ThePyCoach
      @ThePyCoach  2 года назад +1

      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

    • @siconova
      @siconova 2 года назад

      @@ThePyCoach Thanks a lot, great work!

  • @Hex-Scholar
    @Hex-Scholar Год назад

    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 ?

  • @Carlo.D
    @Carlo.D Год назад

    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

  • @sanathkumarr9075
    @sanathkumarr9075 Год назад +1

    its generating different documents with the same data

  • @AnkitSharma-bo4zj
    @AnkitSharma-bo4zj Год назад

    Hi I am getting a KeyError on the name of the row. How to resolve this?

  • @KarmveerChauhan-op1sq
    @KarmveerChauhan-op1sq Год назад

    how can i automate all the data to the same word file ?

  • @academysolution8074
    @academysolution8074 Год назад

    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?

  • @sanathkumarr9075
    @sanathkumarr9075 Год назад

    But printing context shows different data

  • @amj.composer
    @amj.composer Год назад

    Thank you so much, now I'm gonna apply to so many fucking jobs lmfao

  • @pushpanshuasthana7589
    @pushpanshuasthana7589 2 года назад

    I am getting this error in email automation, please resolve it...
    em['From'] = email_sender
    TypeError: 'type' object does not support item assignment

  • @sayednab
    @sayednab Год назад

    isn't easier to just download a cv template and work on it? i really dont get what you are trying to do here.

  • @thegreatgouldini
    @thegreatgouldini Год назад

    slow starter.... what dev environment are you using? pip install docxtpl does not work