Re: [python-win32] Installing a Python script as service

2005-08-26 Thread Mark Hammond
rday, 27 August 2005 11:51 AMTo: [email protected]: Re: [python-win32] Installing a Python script as service The intent is to register the service to run in debug mode if you're currently running a debug build.  By convention, pyd's and exe's have _d append

Re: [python-win32] Installing a Python script as service

2005-08-26 Thread Roger Upole
The intent is to register the service to run in debug mode if you're currently running a debug build.  By convention, pyd's and exe's have _d appended to them for a debug build, so you'd have win32service_d.pyd. It would be more reliable to use os.path.splitext and check that the last 2 char