comtypes
comtypes copied to clipboard
A pure Python, lightweight COM client and server framework, based on the ctypes Python FFI package.
This PR addresses issue #333, "Delayed loading of npsupport". It does not attempt to load numpy as a library at import time, but only when explicitly requested via the new...
I have a program that I am trying to link to called ProMax I run ``` from comtypes.client import CreateObject CreateObject("ProMax.ProMax") ``` I get an error ``` File "C:\Users\rlarson\Anaconda3\envs\hub_opt\lib\site-packages\comtypes\gen\_00021A98_0000_0000_C000_000000000046_0_4_16.py", line...
see #336. For the part of creating the docstring, replacing chars that may cause errors with chars that do not.
com.CreateObject('Visio.Application') returns SyntaxError starting from 1.1.13: `File "xxxxxxxxx\.tox\py39\lib\site-packages\comtypes\gen\_00021A98_0000_0000_C000_000000000046_0_4_16.py", line 20214` ` """A running instance of Visio. ProgId: "Visio.Application""""` `SyntaxError: EOL while scanning string literal` Very likely this issue might also...
I have been implementing some COM servers using comtypes, which are generally working very well. The design of the system is such that individual processing operations are provided by each...
***WIP*** This is the start of getting the tests up and running again. Quite a few of them are running properly and they are passing. I have an error in...
## Abstract of proposal I wish `client.GetModule` generates `Friendly.pyi` type stub at same time as generating `_xxxxxxxxxxxx_xxxxxxxx_xxxxxxxx_xxxxxxxxxxxx_x_x_x.py` and `Friendly.py` runtime modules. ## Rationale `comtypes` dynamically creates type-defined modules. This is...
Currently there are no problems at runtime, but complex imports tend to cause strange bugs that occur when the code is changed. ## Modification policies Make `client` dependent on `tools`....
http://pythonhosted.org/comtypes/#converting-data-types mentions that some COM server methods require an array of strings with typecode VT_ARRAY | VT_BSTR. Currently, there doesn't seem to be a method of creating a VARIANT with...
tuple error
I'm running python 3.6 through spyder and trying to run comtypes to control SAP2000. I keey getting this error File "E:\pyth2\lib\site-packages\comtypes\__init__.py", line 659, in call_with_inout if len(outargs) == 1: #...