Contents

comtypes 1.4.1

0

Pure Python COM package

Pure Python COM package

Stars: 275, Watchers: 275, Forks: 95, Open Issues: 92

The enthought/comtypes repo was created 10 years ago and the last code push was 2 days ago.
The project is popular with 275 github stars!

How to Install comtypes

You can install comtypes using pip

pip install comtypes

or add it to a project with poetry

poetry add comtypes

Package Details

Author
Thomas Heller
License
MIT License
Homepage
https://github.com/enthought/comtypes
PyPi:
https://pypi.org/project/comtypes/
GitHub Repo:
https://github.com/enthought/comtypes

Classifiers

  • Software Development/Libraries/Python Modules
No  comtypes  pypi packages just yet.

Errors

A list of common comtypes errors.

Code Examples

Here are some comtypes code examples and snippets.

GitHub Issues

The comtypes package has 92 open issues on GitHub

  • TypeError: type must have storage info
  • windows data types
  • '''NameError: name 'unicode' is not defined''' on Python 3.10.0
  • Python 3 setup support (setuptools downgrade)
  • Python 3 changes
  • SyntaxError: invalid syntax, when import comtypes
  • Protocol and/or types generation for type libraries.
  • Solution to IndexError for empty SafeArrays
  • IndexError for zero length SafeArrays
  • error of lib itself
  • SyntaxError: invalid syntax when installing with setuptools >= 60.0.0
  • Documentation not up to date
  • Conversion from 2d ndarray to VARIANT fails
  • Syntax error when trying to import comtypes on Python 3.6.7
  • Is it possible to not throw COMError?

See more issues on GitHub