Re: [python-win32] problems with win32comext\taskscheduler on windows

2010-05-04 Thread Vaida Bogdan
It seems that the Task Scheduler 2.0 enum types in TASK_TRIGGER_TYPE2 are not implemented: These are for Task Scheduler 1.0 $ grep -rni TASK_TIME_TRIGGER_DAILY * com/win32comext/taskscheduler/src/PyITaskTrigger.cpp:129: TASK_TIME_TRIGGER_ONCE,TASK_TIME_TRIGGER_DAILY,\n

Re: [python-win32] finding pythonXX.dll?

2010-05-04 Thread Bill Janssen
Roger Upole rwup...@msn.com wrote: Bill Janssen wrote: Is there anyway to tell, from inside Python, where the python26.dll file is? I've got to install the win32 dlls in the same directory. I see that sys contains a symbol dllhandle, but that's just a numeric handle. Bill

Re: [python-win32] finding pythonXX.dll?

2010-05-04 Thread Thomas Heller
Bill Janssen schrieb: Roger Upole rwup...@msn.com wrote: Bill Janssen wrote: Is there anyway to tell, from inside Python, where the python26.dll file is? I've got to install the win32 dlls in the same directory. I see that sys contains a symbol dllhandle, but that's just a numeric

Re: [python-win32] finding pythonXX.dll?

2010-05-04 Thread Bill Janssen
Thomas Heller thel...@ctypes.org wrote: Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. from ctypes import * buf = create_string_buffer(256) windll.kernel32.GetModuleFileNameA _FuncPtr

[python-win32] Boot strap mechanism for ActiveX Python engines

2010-05-04 Thread Marc-Andre Belzile
Hi, I'm trying to execute some python code when a new ActiveX Python engine is instantiated. I thought I could use sitecustomize.py to put my code in but this module seems to get executed only for the first engine created (probably when pythoncomXX.dll is loaded for the first time). Is there

Re: [python-win32] Boot strap mechanism for ActiveX Python engines

2010-05-04 Thread Mark Hammond
On 5/05/2010 5:33 AM, Marc-Andre Belzile wrote: Hi, I'm trying to execute some python code when a new ActiveX Python engine is instantiated. I thought I could use sitecustomize.py to put my code in but this module seems to get executed only for the first engine created (probably when