Black window

Bernd Kaiser meldron at meldron.org
Mon Jul 5 01:46:12 CEST 2004


Gropius wrote:

>> Check out py2exe
>> http://starship.python.net/crew/theller/py2exe/
> 
> Ok, but i don't understand what to do..
> 
> 
Windows NT services

You can build Windows NT services by passing a service keyword argument 
to the setup function, the value must be a list of Python module names 
containing a service class (identified by the _svc_name_ attribute):

# setup.py
from distutils.core import setup
import py2exe

setup(service=["MyService"])

The build service executable are able to install and remove themselves 
by calling them with certain command line flags, run the exe with the 
-help argument to find out more.



More information about the Python-list mailing list