How to convert Microsoft Word file to PDF using Python

Поделиться
HTML-код
  • Опубликовано: 24 сен 2024
  • In this video I will share methods to convert a Microsoft Word file into PDF file format using Python, What you need are Microsoft Word and Python.
    There are 2 main Python libraries "comtypes" and "win32com".
    You can also speed up the whole process by setting "Visible" = False
    Code: github.com/nop...
    Thanks for watching, Let me know the next topic you want me to cover.
    #Python, #PDF

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

  • @disauyanmis5933
    @disauyanmis5933 11 месяцев назад

    how can i do the same for several word files altogether?

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

    Doesn't work
    AttributeError: 'POINTER(IUnknown)' object has no attribute 'Documents'

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

      Could you please share the full script, i can help

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

    no me funciona😐😑

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

      Could you please tell me the error?

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

    How to run the same on Windows server? Please help

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

      Do you have MsWord installed on your Windows server ?

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

      @@nplearn yes we did

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

      @@saypap just finished the test, vdo out soon

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

      @@nplearn Superb!! I hope it will be without user logged in on scheduler