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.n...@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

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to