[python-win32] vb6 calling python script
Tim Roberts
timr at probo.com
Mon Oct 26 18:18:54 CET 2009
Fred Chevitarese wrote:
>
> I´m new in list!
> My name is Fred Chevitarese. I need to call an Python Script from a
> VB6 application. I´m not sure if it´s possible.
That could mean a couple of things. If you just want to invoke a Python
script as a separate process, then it's exactly like calling any other
standalone application. There are many, many examples of doing that it VB6.
However, if you want to call a Python function from inside VB6 as if it
were a DLL or an object, that's a little more complicated. The best way
to do that is probably to turn your Python script into a COM object, and
call the COM from VB6.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list