making a Windows NT service out of a python program

Bill Tutt billtut at microsoft.com
Tue Jul 13 22:43:35 EDT 1999


> From: Mark Hammond [mailto:MHammond at skippinet.com.au]
> 
> 
> Andrew Cooke wrote in message <7mfot5$n30$1 at nnrp1.deja.com>...
> 
> >The worst thing about them is that they can be tricky to 
> debug.  If they
> >are running in the system account then they have a restricted
> >environment and the standard output channels send useful data to
> 
> he he - not with Python :-)  Just import win32traceutil at 
> the top of your
> service, and you can see all your print statements in Pythonwin :-)
> 

Heck, if you give it permission to interact with the desktop, you might
actually be able to use Mark's cool GUI debugger. :) (No I haven't tried
this...)

Bill




More information about the Python-list mailing list