Re: [python-win32] Service: path to .py script

2006-09-19 Thread Gregor Horvath
Mark Hammond schrieb: > Is Y: a mappyed network drive? If so, the problem will be that the mapping > does not exist for the service account (and if you are using LocalSystem, it > will not be possible/sensible to add it) Thanks a lot. This was indeed the problem. -- Greg

Re: [python-win32] Service: path to .py script

2006-09-19 Thread Mark Hammond
t; Behalf Of Gregor Horvath > Sent: Tuesday, 19 September 2006 9:27 PM > To: [email protected] > Subject: [python-win32] Service: path to .py script > > > Hi, > > I have a testservice.py (see below). I installed the service > successfully. (via commandlineoption inst

[python-win32] Service: path to .py script

2006-09-19 Thread Gregor Horvath
Hi, I have a testservice.py (see below). I installed the service successfully. (via commandlineoption install) The problem is that it runs only when it is in c:\windows\system32 or in the python path. I added the desired path (Y:\) to the PYTHONPATH environment variable for the system account and