tcp server as windows service

Johannes Findeisen mailman at hanez.org
Tue Sep 23 14:53:48 EDT 2014


Hi,

On Tue, 23 Sep 2014 15:56:41 +0200
Arulnambi Nandagoban wrote:

> Hello all, 
> 
>  
> 
> I developed a multithreaded tcp server with python and I converted into a
> windows executable using pyinstaller. 
> 
> I would like to run the server as a windows service so that server restarts
> whenever pc restarts without 
> 
> doing it manually . Help me out with some sample code . 

Take a look at this post:

https://stackoverflow.com/questions/32404/is-it-possible-to-run-a-python-script-as-a-service-in-windows-if-possible-how

Read the comments below the solution to add your script to the Windows
services list.

I didn't do windows development but it seems very easy to do.

Regards,

Johannes



More information about the Python-list mailing list