Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87724 > unrolled thread
| Started by | jyothi.nadu@gmail.com |
|---|---|
| First post | 2015-03-18 23:58 -0700 |
| Last post | 2015-03-20 14:29 -0400 |
| Articles | 2 — 2 participants |
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.
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
| From | jyothi.nadu@gmail.com |
|---|---|
| Date | 2015-03-18 23:58 -0700 |
| Subject | Re: Windows service in production? |
| Message-ID | <39879cee-a2f8-43eb-b4f2-7088a0c181ef@googlegroups.com> |
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
[toc] | [next] | [standalone]
| From | Raymond Cote <rgacote@Appropriatesolutions.com> |
|---|---|
| Date | 2015-03-20 14:29 -0400 |
| Message-ID | <mailman.45.1426876673.10327.python-list@python.org> |
| In reply to | #87724 |
[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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web