[python-win32] FW: Python script as a windows service

2006-11-02 Thread Tor Erik Sønvisen
Hi, I'm trying to execute a python script as a windows service. I found some information at: http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html The steps I've taken are the following: 1. Downloaded Windows Resource Kits 2. Executed instsrv.exe nameOfService

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

2006-11-02 Thread Tor Erik Sønvisen
Hi, No, I did not use a batch file. As I understand, it should be possible to do this without a batch file. The name of my script is not the same as the service name, if that's what you are asking... Installing the service is not a problem, and it gets listed in the services menu. -Original

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

2006-11-02 Thread Tim Roberts
Tor Erik Sønvisen wrote: I'm trying to execute a python script as a windows service. I found some information at: http://agiletesting.blogspot.com/2005/09/running-python-script-as-windows.html The steps I've taken are the following: 1. Downloaded Windows Resource Kits 2. Executed

[python-win32] Suggested change to document.py

2006-11-02 Thread Gerard Brunick
The problem is much more involved to describe than the solution. I run windows XP, and I keep python scripts all over my drive. Rather than adding all sorts of subdirectory's to my path, i create hardlinks to the scripts that I need to use from the command line in a single \bin directory.

Re: [python-win32] Suggested change to document.py

2006-11-02 Thread Tim Roberts
Gerard Brunick wrote: ...I run windows XP, and I keep python scripts all over my drive. Rather than adding all sorts of subdirectory's to my path, i create hardlinks to the scripts that I need to use from the command line in a single \bin directory. ... The solution seems to be change

[python-win32] Suggested change to document.py

2006-11-02 Thread Gerard Brunick
Please ignore my suggestion. It turns out that things are not as simple as I thought, and the change I suggested does not play well with the debugger or new files in PythonWin. To get your hands on hard links in windows use fsutil or the windows api function CreateHardLink as in