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

Aahz aahz at pythoncraft.com
Fri Feb 19 19:15:07 EST 2010


In article <4b79e28c$0$4610$426a74cc at news.free.fr>,
News123  <news123 at free.fr> 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 pythoncraft.com)           <*>         http://www.pythoncraft.com/

"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