[python-win32] sys.path and PyWin32 scripting engine

Tim Roberts timr at probo.com
Tue Jul 20 18:45:51 CEST 2010


 Marc-Andre Belzile wrote:
> I'm referring to Python Active Scripting engines available in pywin32. I'm creating them through COM, so I don't tknow if the ActiveX goes through Py_NewInterpreter or not.

Active Scripting creates Python as an out-of-process COM server.  That
means there will be one Python process fielding all of these requests. 
If you are creating new instances each time, I would have expected each
one to be its own interpreter, but your evidence suggests otherwise.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the python-win32 mailing list