COM interface to the Python interpreter

Achim Domma domma at procoders.net
Mon Jul 21 12:07:14 EDT 2003


Hi Christian,

> under Win32 it is possible to use Python as a scripting language inside
ASP
> pages (win32lib package), so there must be a COM interface to the Python
> interpreter.
>
> I like to use this interface instead of writing my own COM server to
invoke
> Python scripts from COM aware languages,  unfortunately i can not find the
> type-library for this interface.

I think you are mixing something. To be available as scripting language
inside ASP, there has to be a special interface, but it's not a 'simple'
IDispatch based interface. You can look at the documentation of the Windows
Scripting Host on how to use it in your own apps. Then you can automate your
App with all installed scripting languages.
If you would give us more details about what you want to do, one could
answer more helpfully.

regards,
Achim






More information about the Python-list mailing list