How to use python to register a service (an existing .exe file)

Aahz aahz at
Sat Feb 20 01:15:07 CET 2010

In article <4b79e28c$0$4610$426a74cc at>,
News123  <news123 at> wrote:

>Is there a python way to register new windows services.
>I am aware of the
>instsrv.exe program, which can be used to install services.
>I could use subprocess.Popen to call
>instsrv.exe "service_name" program.exe
>but wondered, whether there's already an existing function.

Use the win32 package.
Aahz (aahz at           <*>

"At Resolver we've found it useful to short-circuit any doubt and just        
refer to comments in code as 'lies'. :-)"

More information about the Python-list mailing list