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

前端 未结 1 1217
我在风中等你
我在风中等你 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)
自定义标题
段落格式
字体
字号
代码语言
提交回复
热议问题