Top "Comtypes" questions

comtypes is a lightweight Python COM package, based on the ctypes FFI library.

Python win32com.client.Dispatch looping through Word documents and export to PDF; fails when next loop occurs

Based on the script here: .doc to pdf using python I've got a semi-working script to export .docx files to …

python pdf docx win32com comtypes
ImportError: No module named comtypes in Python 3.6

I'm using Python 3.6. I have installed the module comtypes via the command python -m pip install comtypes Requirement already satisfied: …

python python-import comtypes
Can't import comtypes.gen

I have comtypes 0.6.2 installed on Python 2.6. If I try this: import comtypes.gen I get: Traceback (most recent call last): …

python import comtypes
How to convert from docx to pdf with a python function (WINDOWS)?

I am working on an env with a python function to convert docx to pdf files. I'm using postman to …

python ms-word converters comtypes
How to use COM from python win32com or comtypes to access an IRTDServer?

Environment Windows 10 + python 3.6.3 64 bit (also tried 32 bit). I am a python developer trying to use COM for (nearly) the first …

python com pywin32 win32com comtypes