How to Automate Word Documents Using Python

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

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

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

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

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

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

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

    Nice video, well explained!

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

      Glad you liked it!

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

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

    Excellent video! Tks for this

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

    Excellent work. Thanks!

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

    which tool you using to creat the pyton script?

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

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

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

    This is awesome

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

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

    Do I need frameworks to automate?

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

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

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

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

    how to update table of content dynamically

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

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

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

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

  • @amj.composer
    @amj.composer ปีที่แล้ว

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

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

    its generating different documents with the same data

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

    But printing context shows different data

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

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