typo, the correct command is:
c:\>python MyService.py -startup=auto install
--
http://mail.python.org/mailman/listinfo/python-list
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.
\\servername\folder-filename
> Can you help me ? Or better is there some info for unix person how
> to survive with python on windows ;-)
Use py2exe to transform your app into a service...
--
http://mail.python.org/mailman/listinfo/python-list
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 Co
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
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,
>
> U
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
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:
http://www.seritt.org/pub/srvinst13b.exe.
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
--
http://mail.p