ActivePython is a widely-used Python distribution. A Python script can be run as a Windows Service using FireDaemon Pro, which allows you to have the script start automatically at boot prior to login, start multiple instances of the script and more. This HOWTO will show you how to set it up. You can also use FireDaemon Fusion to manage FireDaemon and other Windows services via a web browser.


ActivePython Setup Under FireDaemon Pro

Download the latest ActivePython from the ActivePython website.


By default ActivePython installs to C:\Python32 so for the purposes of this HOWTO, we will use that directory.


ActivePython has many executables that you can use, but the one you would use for most scripts is python.exe. Be sure to run your script from the command line before configuring it to run under FireDaemon Pro; if the script doesn't work from the command line, it won't work as a service.


Download and install FireDaemon Pro into the directory of your choice, typically C:\Program Files\FireDaemon.


Next start the FireDaemon GUI from the desktop shortcut. Click on the "Create a new service definition" button in the toolbar (or type Ctrl+N) and enter the information into the fields as you see below. Adjust the paths to suit your installation. Note the required parameters.



  • Executable: point it to python.exe
  • Working Directory: point it to the directory in which your Python script resides.
  • Parameters: enter the name of your Python script including its extension (e.g. script.py)


Now click on the Settings tab. You can change the Process Priority to allocate more CPU time to ActivePython or specify which CPU or core ActivePython will run on (in the case of multi-processor, hyperthreaded or multi-core CPUs).



Now click on the Lifecycle tab. Make sure "Console Application" is checked.



Now click OK to install and start your Python script!