Re: python script under windows

2005-09-20 Thread cg
I ran into a similar issue a couple of months back, the solution on Windows is to run it as a service. It is very simple, you need Mark Hammond's Win32 extensions. For path you have to use absolute filepath for all local files and for network drive use the UNC path i.e.

Re: python script under windows

2005-09-20 Thread chanchal
typo, the correct command is: c:\python MyService.py -startup=auto install -- http://mail.python.org/mailman/listinfo/python-list

python script under windows

2005-09-09 Thread Jan Gregor
Hello I run python script on another computer and want to survive that script after my logout. the script also uses drive mapping to network drive. Can you help me ? Or better is there some info for unix person how to survive with python on windows ;-) thanks, jan gregor --

Re: python script under windows

2005-09-09 Thread Harlin Seritt
Hi Jan, Unfortunately you will have to register it as a service. I am almost certain there is no other way to do it. However, setting up an executable as a true Windows Service is extremely tedious. You can try this utility that I use. You can get it here:

Re: python script under windows

2005-09-09 Thread Benji York
Jan Gregor wrote: I run python script on another computer and want to survive that script after my logout. Start at http://www.python.org/windows/win32/#NTServices. -- Benji York -- http://mail.python.org/mailman/listinfo/python-list

Re: python script under windows

2005-09-09 Thread Larry Bates
Making a Python program into a service isn't all that tedious. Get a copy of Mark Hammonds Python Programming on Win32 which contains excellent examples on how to do this. I've written several and after the first one, it is quite easy to do. -Larry Bates Harlin Seritt wrote: Hi Jan,

Re: python script under windows

2005-09-09 Thread Roger Upole
You can use the Task Scheduler to run a script persistently if you don't need the capabilities of the service framework. Roger Jan Gregor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I run python script on another computer and want to survive that script after my

Re: python script under windows

2005-09-09 Thread Grig Gheorghiu
Jan, Here's what I did to run a Python script (let's call it myscript.py) as a service: 1. Install Win2K Resource Kit. 2. Run instsrv to install srvany.exe as a service with the name myscript: C:\Program Files\Resource Kit\instsrv myscript C:\Program Files\Resource Kit\srvany.exe 3. Go to