Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78240

Re: tcp server as windows service

Date 2014-09-23 20:53 +0200
From Johannes Findeisen <mailman@hanez.org>
Subject Re: tcp server as windows service
References <005a01cfd736$34346ad0$9c9d4070$@traxens.com>
Newsgroups comp.lang.python
Message-ID <mailman.14283.1411498834.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: tcp server as windows service Johannes Findeisen <mailman@hanez.org> - 2014-09-23 20:53 +0200

csiph-web