How to Automate Word Documents Using Python

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

ความคิดเห็น • 36

  • @tiagoandreotti
    @tiagoandreotti ปีที่แล้ว +2

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

  • @crystalcleargirl07
    @crystalcleargirl07 7 หลายเดือนก่อน

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

  • @afreenaamran3279
    @afreenaamran3279 ปีที่แล้ว +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.

  • @tecnofest7683
    @tecnofest7683 3 หลายเดือนก่อน

    Good Job! Thanks 🚀

  • @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.

  • @eerd2449
    @eerd2449 3 หลายเดือนก่อน

    which tool you using to creat the pyton script?

  • @ninatyminska3436
    @ninatyminska3436 11 หลายเดือนก่อน

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

  • @md.masumomarjashim
    @md.masumomarjashim 2 ปีที่แล้ว +2

    This is awesome

  • @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 😂

  • @rodfreitas1935
    @rodfreitas1935 ปีที่แล้ว

    Excellent video! Tks for this

  • @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 หลายเดือนก่อน

      Hey
      Did you find any solutions?

  • @bas8049
    @bas8049 2 ปีที่แล้ว +1

    Nice video, well explained!

    • @ThePyCoach
      @ThePyCoach  2 ปีที่แล้ว +1

      Glad you liked it!

  • @gaben_aTan
    @gaben_aTan ปีที่แล้ว

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

  • @utube11235
    @utube11235 ปีที่แล้ว

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

  • @maxcohen13
    @maxcohen13 2 ปีที่แล้ว

    Excellent work. Thanks!

  • @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

  • @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 ?

  • @lucasferreira8229
    @lucasferreira8229 ปีที่แล้ว

    Do I need frameworks to automate?

  • @sowmiya94
    @sowmiya94 7 หลายเดือนก่อน

    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!

  • @AnkitSharma-bo4zj
    @AnkitSharma-bo4zj ปีที่แล้ว

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

  • @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 ปีที่แล้ว +1

    its generating different documents with the same data

  • @KarmveerChauhan-op1sq
    @KarmveerChauhan-op1sq ปีที่แล้ว

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

  • @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

  • @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

  • @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.

    • @mickyguy157
      @mickyguy157 ปีที่แล้ว

      increasing returns to scale

  • @thegreatgouldini
    @thegreatgouldini ปีที่แล้ว

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