How to build a Windows service using win32?

Gregor Mosheh gregor at hostgis.com
Wed Mar 7 17:35:08 CET 2007


Giles Brown wrote:
> Yeah.  You've cleverly decided to simplify the "smallest possible
> python service" by removing the
> if __name__ == '__main__':

Ha ha. :)
Seriously, though, I removed that long after it was failing to work, and
have since replaced it and it didn't affect a thing.


Gabriel Genellina wrote:
> Have you installed the pywin32 package from
> https://sourceforge.net/projects/pywin32/ ?
> The code skeleton looks OK to me.

Indeed, I have win32 installed. I'm used to writing wx applications,
compiling into exes, etc. Services are a new direction for me.


So, both of you say that the program I sent *did* work?
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: EDMS-to-CG.py
URL: <http://mail.python.org/pipermail/python-list/attachments/20070307/f34f1ebe/attachment.ksh>


More information about the Python-list mailing list