How do I make Windows aware of a service I have written in Python?
<p>In <a href="http://stackoverflow.com/questions/32404/can-i-run-a-python-script-as-a-service-in-windows-how" rel="nofollow" title="Python scripts as Windows service">another question</a> I posted yesterday, I got very good advice on how a Python script could be run as a service in Windows. What I'm left wondering is: How is Windows aware of the services that can be managed in the native tools ("services" window in "administrative tools"). I. e. what is the Windows equivalent of putting a start/stop script in /etc/init.d under Linux?</p>

<p>Here is code to install a python-script as a service, written in python :)</p>

<p><a href="http://code.activestate.com/recipes/551780/">http://code.activestate.com/recipes/551780/</a></p>

<p>This post could also help you out:</p>

<p><a href="http://essiene.blogspot.com/2005/04/python-windows-services.html">http://essiene.blogspot.com/2005/04/python-windows-services.html</a></p>
