Using ActiveX Control from Python
Mark Hammond
MarkH at ActiveState.com
Mon Mar 19 03:12:12 EST 2001
Hirsch, John wrote:
> Hi All
> I am trying to use an ActiveX Control from Python 2.0 with little success.
Python alone does not support true COM Controls - these are quite
complex beasts and require significant "framework" support.
You have a couple of reasonable choices:
* Use Pythonwin - it inherits MFC's control container support. Check
out pywin\demos\ocx for examples.
* Check out some recent(ish) posts from Alex Martelli who describes in
excellent detail how to use IE as your container, and still use Python
to script it.
Mark.
More information about the Python-list
mailing list