[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 win32file.CreateH

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

2006-11-02 Thread James Matthews
Yep alot of things from *nix are in windows but they are not very accepted!On 11/2/06, Gabriel Genellina <[EMAIL PROTECTED] > wrote:At Thursday 2/11/2006 18:52, Gerard Brunick wrote:> > ...I run windows XP, and I keep > > python scripts all over my drive.  Rather than adding all sorts of> > subdire

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

2006-11-02 Thread Gabriel Genellina
At Thursday 2/11/2006 18:52, 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. I do

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 cha

[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. The

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. Ex

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

2006-11-02 Thread Jim Vickroy
I am not familiar with this approach (and I am working on a machine where I do not have admin privileges), but an alternative is to download the Windows extensions for Python by Mark Hammond (et. al.) at: http://sourceforge.net/projects/pywin32/ which makes writing a Windows service simple as

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 M

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

2006-11-02 Thread Michel Claveau
Hi! Have you use a batch, for define the service? Is the name in the list of services? @-salutations Michel Claveau ___ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32

[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