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


Groups > comp.lang.python > #78240 > unrolled thread

Re: tcp server as windows service

Started byJohannes Findeisen <mailman@hanez.org>
First post2014-09-23 20:53 +0200
Last post2014-09-23 20:53 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

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

#78240 — Re: tcp server as windows service

FromJohannes Findeisen <mailman@hanez.org>
Date2014-09-23 20:53 +0200
SubjectRe: tcp server as windows service
Message-ID<mailman.14283.1411498834.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web