Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87792
| Subject | Re: Windows service in production? |
|---|---|
| From | Raymond Cote <rgacote@Appropriatesolutions.com> |
| Date | 2015-03-20 14:29 -0400 |
| References | <90342eaa-28e2-4a86-9e5c-07299de10435@g9g2000yqb.googlegroups.com> <39879cee-a2f8-43eb-b4f2-7088a0c181ef@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.45.1426876673.10327.python-list@python.org> (permalink) |
[Multipart message — attachments visible in raw view] - view raw
Years and years ago we found a module called ntsvc which allows us to run as a Service on Windows. We’ve been using it since well before 2011 to build 32-bit services on Windows with py2exe. If you contact me directly, I’ll dig it out of our source tree and post it on a shared location. Alternatively, you may want to look at a service manager such as: https://nssm.cc This allows you to run a standard executable as a Windows Service. We’ve just started looking down this path ourselves since we’re looking to move to Python 3.x and want to reduce our dependencies as much as possible. —Ray > On Mar 19, 2015, at 2:58 AM, jyothi.nadu@gmail.com wrote: > > On Tuesday, August 16, 2011 at 10:02:02 AM UTC+5:30, snorble wrote: >> Anyone know of a Python application running as a Windows service in >> production? I'm planning a network monitoring application that runs as >> a service and reports back to the central server. Sort of a heartbeat >> type agent to assist with "this server is down, go check on it" type >> situations. >> >> If using Visual Studio and C# is the more reliable way, then I'll go >> that route. I love Python, but everything I read about Python services >> seems to have workarounds ahoy for various situations (or maybe that's >> just Windows services in general?). And there seem to be multiple >> layers of workarounds, since it takes py2exe (or similar) and there >> are numerous workarounds required there, depending on which libraries >> and functionality are being used. Overall, reading about Windows >> services in Python is not exactly a confidence inspiring experience. >> If I knew of a reference example of something reliably running in >> production, I'd feel better than copying and pasting some code from a >> guy's blog. > > Have you got any resolution for creating a service in windows 7 32bit > -- > https://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Windows service in production? jyothi.nadu@gmail.com - 2015-03-18 23:58 -0700 Re: Windows service in production? Raymond Cote <rgacote@Appropriatesolutions.com> - 2015-03-20 14:29 -0400
csiph-web