[Python Prog on Win32] Uninstalling a service?

Mark Hammond MarkH at ActiveState.com
Wed Nov 15 07:14:33 CET 2000


> I have a few questions about setting up Python services under NT:
> When using PythonService.exe to create NT services, how do I get rid of
> (delete) an installed service? 

Run "yourservice.py remove"

> Also, if I change the code for the installed service, do I need to reinstall
> the service, or will it automatically recompile the .py file when I stop and
> restart the service? 

Just restart the service.  "yourservice.py restart" is useful for that.

> Is there any documentation for PythonService.exe that might explain these
> things (other than the excellent "Python Programming on Win32" book)? I
> didn't see any in the help file that ships with Win32 Extensions.

Use the source, Luke ;-)


More information about the Python-list mailing list