Python Tips
Article on Setting Up a Python Script as a ServiceApril 16, 2007 09:24
Grig Gheorghiu wrote this great article on turning a python script into a service: 1. Install Win2K Resource Kit (Windows 2003 Resource Kit for XP users) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\myscript entry add new key (Edit->Add Key) called Parameters add new entry for Parameters key (Edit->Add Value) to set the Application name Name should be Application Type should be REG_SZ Value should be path to myscript.bat, i.e. C:\pyscripts\myscript.bat Add new entry for Parameters key (Edit->Add Value) to set the working directory Name should be AppDir Type should be REG_SZ Value should be path to pyscripts directory, i.e. C:\pyscripts
General Python Programming Tips - Wednesday, October 14, 2009
|