AttributeError: 'module' object as no attribute '_Application'

前端 未结 1 1215
我在风中等你
我在风中等你 2021-01-27 23:13

At end of my program, I am generating word file then converting this file to .pdf file format as the following:

wdFormatPDF = 17
word = comtypes.client.CreateObj         


        
相关标签:
1条回答
  • 2021-01-27 23:35

    I have same。I solved it Clear Gen's cache! I am deleting all the caches in this directory. The conversion is normal! ..\Python3.6\Lib\site-packages\comtypes\gen

    0 讨论(0)
提交回复
热议问题